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

Method provide

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

Source from the content-addressed store, hash-verified

572 const fetcher = Effect.isEffect(build) ? yield* build : build
573 // The fetch's context wins, keeping its cache, span and host runtime.
574 const provide = (context: Context.Context<never>) => Context.merge(captured, context)
575 const built = makeBuild((args, cursor) => {
576 const out: Effect.Effect<any, any> | Stream.Stream<any, any> = fetcher(args, cursor)
577 return Effect.isEffect(out)

Callers 15

Codegen.test.tsFile · 0.45
bin.tsFile · 0.45
Codegen.tsFile · 0.45
codegen.tsFile · 0.45
generateFunction · 0.45
Utils.test.tsFile · 0.45
bin.tsFile · 0.45
main.tsFile · 0.45

Calls 1

mergeMethod · 0.65

Tested by 15

generateFunction · 0.36
githubFunction · 0.36
makeClientFunction · 0.36
withMockClientFunction · 0.36
layerKvsFunction · 0.36
importFromOtherProcessFunction · 0.36
userPostsFunction · 0.36
receiveFunction · 0.36
withAdapterFunction · 0.36
restLayerFunction · 0.36
userPostsFunction · 0.36
deliverFunction · 0.36