( f: (scope: Scope.Scope) => Effect.Effect<A, E, R> )
| 6229 | |
| 6230 | /** @internal */ |
| 6231 | export const scopedWith = <A, E, R>( |
| 6232 | f: (scope: Scope.Scope) => Effect.Effect<A, E, R> |
| 6233 | ): Stream.Stream<A, E, R> => |
| 6234 | new StreamImpl(channel.scopedWith((scope) => |
| 6235 | f(scope).pipe( |
| 6236 | Effect.map(Chunk.of) |
| 6237 | ) |
| 6238 | )) |
| 6239 | |
| 6240 | /** @internal */ |
| 6241 | export const some = <A, E, R>(self: Stream.Stream<Option.Option<A>, E, R>): Stream.Stream<A, Option.Option<E>, R> => |
no test coverage detected