( effect: Effect.Effect<A, E, R> )
| 6185 | |
| 6186 | /** @internal */ |
| 6187 | export const scoped = <A, E, R>( |
| 6188 | effect: Effect.Effect<A, E, R> |
| 6189 | ): Stream.Stream<A, E, Exclude<R, Scope.Scope>> => |
| 6190 | new StreamImpl(channel.ensuring(channel.scoped(pipe(effect, Effect.map(Chunk.of))), Effect.void)) |
| 6191 | |
| 6192 | /** @internal */ |
| 6193 | export const scopedWith = <A, E, R>( |
no test coverage detected