effect-io-ai

Package: effect
Module: Micro

Micro.forkIn

Run the Micro effect in a new MicroFiber that can be awaited, joined, or aborted.

The lifetime of the handle will be attached to the provided MicroScope.

Signature

declare const forkIn: { (scope: MicroScope): <A, E, R>(self: Micro<A, E, R>) => Micro<MicroFiber<A, E>, never, R>; <A, E, R>(self: Micro<A, E, R>, scope: MicroScope): Micro<MicroFiber<A, E>, never, R>; }

Source

Since v3.4.0