effect-io-ai

Package: effect
Module: Layer

Layer.scope

A layer that constructs a scope and closes it when the workflow the layer is provided to completes execution, whether by success, failure, or interruption. This can be used to close a scope when providing a layer to a workflow.

Signature

declare const scope: Layer<Scope.Scope, never, never>

Source

Since v2.0.0