( effect: Effect.Effect<A, E, R> )
| 6223 | |
| 6224 | /** @internal */ |
| 6225 | export const scoped = <A, E, R>( |
| 6226 | effect: Effect.Effect<A, E, R> |
| 6227 | ): Stream.Stream<A, E, Exclude<R, Scope.Scope>> => |
| 6228 | new StreamImpl(channel.ensuring(channel.scoped(pipe(effect, Effect.map(Chunk.of))), Effect.void)) |
| 6229 | |
| 6230 | /** @internal */ |
| 6231 | export const scopedWith = <A, E, R>( |
no test coverage detected