(self: Stream.Stream<A, E, R>)
| 2429 | |
| 2430 | /** @internal */ |
| 2431 | export const either = <A, E, R>(self: Stream.Stream<A, E, R>): Stream.Stream<Either.Either<A, E>, never, R> => |
| 2432 | pipe(self, map(Either.right), catchAll((error) => make(Either.left(error)))) |
| 2433 | |
| 2434 | /** @internal */ |
| 2435 | export const empty: Stream.Stream<never> = new StreamImpl(core.void) |