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

Method currentDispatcher

packages/effect/src/internal/effect.ts:553–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551
552 _dispatcher: Scheduler.SchedulerDispatcher | undefined = undefined
553 get currentDispatcher(): Scheduler.SchedulerDispatcher {
554 return this._dispatcher ??= this.currentScheduler.makeDispatcher()
555 }
556
557 getRef<X>(ref: Context.Reference<X>): X {
558 return Context.get(this.context, ref)

Callers

nothing calls this directly

Calls 1

makeDispatcherMethod · 0.65

Tested by

no test coverage detected