effect-io-ai

Package: effect
Module: Micro

Micro.provideContext

Merge the given Context with the current context.

Signature

declare const provideContext: { <XR>(context: Context.Context<XR>): <A, E, R>(self: Micro<A, E, R>) => Micro<A, E, Exclude<R, XR>>; <A, E, R, XR>(self: Micro<A, E, R>, context: Context.Context<XR>): Micro<A, E, Exclude<R, XR>>; }

Source

Since v3.4.0