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

Method setContext

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

Source from the content-addressed store, hash-verified

84 readonly getRef: <A>(ref: Context.Reference<A>) => A
85 readonly context: Context.Context<never>
86 setContext(context: Context.Context<never>): void
87 readonly cache: Fiber.Cache
88 readonly currentDispatcher: SchedulerDispatcher
89 readonly addObserver: (cb: (exit: Exit<A, E>) => void) => () => void

Callers 15

Fiber.test.tsFile · 0.65
Effect.test.tsFile · 0.65
SqlClient.test.tsFile · 0.65
fromEffectFunction · 0.65
allocateFunction · 0.65
HttpMiddleware.tsFile · 0.65
asHttpEffectFunction · 0.65
finishAfterFunction · 0.65
[contA]Method · 0.65
toHandledFunction · 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