Accesses a scope in the environment and adds a finalizer to it.
Accesses a scope in the environment and adds a finalizer to it.
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.
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.
The global scope which is never closed.
The global scope which is never closed. Finalizers added to this scope will be immediately discarded and closing this scope has no effect.
Makes a scope.
Makes a scope. Finalizers added to this scope will be run sequentially in the reverse of the order in which they were added when this scope is closed.
Makes a scope.
Makes a scope. Finalizers added to this scope will be run according to the
specified ExecutionStrategy
.
Makes a scope.
Makes a scope. Finalizers added to this scope will be run in parallel when this scope is closed.