MCPcopy Create free account
hub / github.com/Effect-TS/effect / get

Method get

packages/effect/src/unstable/reactivity/AtomRef.ts:317–322  ·  view source on GitHub ↗
(target, p, _receiver)

Source from the content-addressed store, hash-verified

315 }
316 return new Proxy(ref, {
317 get(target, p, _receiver) {
318 if (p === "notify") {
319 return notify
320 }
321 return target[p as keyof AtomRef<A>]
322 }
323 })
324 }
325

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected