@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

main
ts 10 lines 281 Bytes
Raw
1 /**
2 * @title Context.Reference
3 *
4 * For defining configuration values, feature flags, or any other service that has a default value.
5 */
6 import { Context } from "effect"
7
8 export const FeatureFlag = Context.Reference<boolean>("myapp/FeatureFlag", {
9 defaultValue: () => false
10 })