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

Method setContext

packages/effect/src/Fiber.ts:77–77  ·  view source on GitHub ↗
(context: Context.Context<never>)

Source from the content-addressed store, hash-verified

75 readonly getRef: <A>(ref: Context.Reference<A>) => A
76 readonly context: Context.Context<never>
77 setContext(context: Context.Context<never>): void
78 readonly currentScheduler: Scheduler
79 readonly currentDispatcher: SchedulerDispatcher
80 readonly currentSpan?: AnySpan | undefined

Callers 7

Effect.test.tsFile · 0.65
HttpMiddleware.tsFile · 0.65
scopedFunction · 0.65
Entity.tsFile · 0.65
entityManager.tsFile · 0.65
effect.tsFile · 0.65
updateServiceScopedFunction · 0.65

Implementers 1

FiberImplpackages/effect/src/internal/effect.ts

Calls

no outgoing calls

Tested by

no test coverage detected