MCPcopy Create free account
hub / github.com/effect-app/libs / getRef

Method getRef

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

Source from the content-addressed store, hash-verified

547 currentStackFrame: StackFrame | undefined
548 runtimeMetrics: Metric.FiberRuntimeMetricsService | undefined
549 maxOpsBeforeYield!: number
550 currentPreventYield!: boolean
551
552 _dispatcher: Scheduler.SchedulerDispatcher | undefined = undefined
553 get currentDispatcher(): Scheduler.SchedulerDispatcher {
554 return this._dispatcher ??= this.currentScheduler.makeDispatcher()

Callers 15

setContextMethod · 0.95
jsonLogger.tsFile · 0.80
runFunction · 0.80
runRawMethod · 0.80
insertQueryFunction · 0.80
runFunction · 0.80
reportUnhandledErrorFunction · 0.80
NodeHttpClient.tsFile · 0.80
arrayBufferFunction · 0.80
Logger.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected