( f: (scope: Scope.Scope) => Effect.Effect<A, E, R> )
| 2871 | |
| 2872 | /** @internal */ |
| 2873 | export const scopedWith = <A, E, R>( |
| 2874 | f: (scope: Scope.Scope) => Effect.Effect<A, E, R> |
| 2875 | ): Effect.Effect<A, E, R> => core.flatMap(scopeMake(), (scope) => core.onExit(f(scope), (exit) => scope.close(exit))) |
| 2876 | |
| 2877 | /* @internal */ |
| 2878 | export const scopedEffect = <A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, Exclude<R, Scope.Scope>> => |
no test coverage detected