MCPcopy
hub / github.com/Effect-TS/effect / getRef

Method getRef

packages/effect/src/Micro.ts:480–482  ·  view source on GitHub ↗
(ref: Context.Reference<I, A>)

Source from the content-addressed store, hash-verified

478 }
479
480 getRef<I, A>(ref: Context.Reference<I, A>): A {
481 return InternalContext.unsafeGetReference(this.context, ref)
482 }
483
484 addObserver(cb: (exit: MicroExit<A, E>) => void): () => void {
485 if (this._exit) {

Callers 7

runLoopMethod · 0.95
evalFunction · 0.80
Micro.tsFile · 0.80
shouldYieldMethod · 0.80
forEachFunction · 0.80
unsafeForkFunction · 0.80
goFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected