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

Method getRef

packages/effect/src/internal/effect.ts:595–597  ·  view source on GitHub ↗
(ref: Context.Reference<X>)

Source from the content-addressed store, hash-verified

593 }
594
595 getRef<X>(ref: Context.Reference<X>): X {
596 return Context.getReferenceUnsafe(this.context, ref)
597 }
598 addObserver(cb: (exit: Exit.Exit<A, E>) => void): () => void {
599 if (this._exit) {
600 cb(this._exit)

Callers 15

makeBatchFunction · 0.80
runFunction · 0.80
runValuesFunction · 0.80
queryTextValuesFunction · 0.80
reportConnectFunction · 0.80
makeFunction · 0.80
runRawMethod · 0.80
executeStreamMethod · 0.80
insertQueryFunction · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected