effect-io-ai

Package: @effect/workflow
Module: Workflow

Workflow.provideScope

Provides the workflow scope to the given effect.

The workflow scope is only closed when the workflow execution fully completes.

Signature

declare const provideScope: <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, Scope.Scope> | WorkflowInstance>

Source

Since v1.0.0