Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
.repos
/
effect
/
ai-docs
/
src
/
01_effect
/
03_services
/
10_reference.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
10 lines
281 Bytes
Copy permalink
Copy
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
})