effect-io-ai

Package: effect
Module: Effect

Effect.scopeWith

Accesses the current scope and uses it to perform the specified effect.

Signature

declare const scopeWith: <A, E, R>(f: (scope: Scope.Scope) => Effect<A, E, R>) => Effect<A, E, R | Scope.Scope>

Source

Since v2.0.0