effect-io-ai

Package: effect
Module: Fiber

Fiber.scoped

Converts this fiber into a scoped effect. The fiber is interrupted when the scope is closed.

Signature

declare const scoped: <A, E>(self: Fiber<A, E>) => Effect.Effect<Fiber<A, E>, never, Scope.Scope>

Source

Since v2.0.0