( f: (scope: Scope.Scope) => Effect.Effect<A, E, R> )
| 2861 | |
| 2862 | /** @internal */ |
| 2863 | export const scopedWith = <A, E, R>( |
| 2864 | f: (scope: Scope.Scope) => Effect.Effect<A, E, R> |
| 2865 | ): Effect.Effect<A, E, R> => core.flatMap(scopeMake(), (scope) => core.onExit(f(scope), (exit) => scope.close(exit))) |
| 2866 | |
| 2867 | /* @internal */ |
| 2868 | export const scopedEffect = <A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, Exclude<R, Scope.Scope>> => |
no test coverage detected