( effect: Effect.Effect<A, E, R> )
| 781 | * @since 4.0.0 |
| 782 | */ |
| 783 | export const provideScope = <A, E, R>( |
| 784 | effect: Effect.Effect<A, E, R> |
| 785 | ): Effect.Effect<A, E, Exclude<R, Scope.Scope> | WorkflowInstance> => |
| 786 | Effect.flatMap(scope, (scope) => Scope.provide(effect, scope)) |
| 787 | |
| 788 | /** |
| 789 | * Adds an exit finalizer to the current workflow scope, preserving the |