Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ withValue
Function
withValue
packages/effect/test/Effect/scope-ref.test.ts:14–14 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
12
const
env = GenericTag<
"context"
, number>(
"context"
)
13
14
const
withValue = (value: string) => Effect.locallyWith(ref, List.prepend(value))
15
16
const
logRef = (msg: string) =>
17
Effect.gen(
function
*() {
Callers
1
scope-ref.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected