effect-io-ai

Package: effect
Module: Sink

Sink.unwrapScopedWith

Constructs a Sink from a function which receives a Scope and returns an effect that will result in a Sink if successful.

Signature

declare const unwrapScopedWith: <A, In, L, E, R>(f: (scope: Scope.Scope) => Effect.Effect<Sink<A, In, L, E, R>, E, R>) => Sink<A, In, L, E, R>

Source

Since v3.11.0