( s: S, f: (s: S) => Effect.Effect<Option.Option<readonly [A, S]>, E, R> )
| 7474 | |
| 7475 | /** @internal */ |
| 7476 | export const unfoldEffect = <S, A, E, R>( |
| 7477 | s: S, |
| 7478 | f: (s: S) => Effect.Effect<Option.Option<readonly [A, S]>, E, R> |
| 7479 | ): Stream.Stream<A, E, R> => |
| 7480 | unfoldChunkEffect(s, (s) => pipe(f(s), Effect.map(Option.map(([a, s]) => [Chunk.of(a), s])))) |
| 7481 | |
| 7482 | const void_: Stream.Stream<void> = succeed(void 0) |
| 7483 | export { |
no test coverage detected