effect-io-ai

Package: effect
Module: Micro

Micro.scoped

Provide a MicroScope to the given effect, closing it after the effect has finished executing.

Signature

declare const scoped: <A, E, R>(self: Micro<A, E, R>) => Micro<A, E, Exclude<R, MicroScope>>

Source

Since v3.4.0