( s: S, f: (s: S) => Effect.Effect<Option.Option<readonly [A, S]>, E, R> )
| 7436 | |
| 7437 | /** @internal */ |
| 7438 | export const unfoldEffect = <S, A, E, R>( |
| 7439 | s: S, |
| 7440 | f: (s: S) => Effect.Effect<Option.Option<readonly [A, S]>, E, R> |
| 7441 | ): Stream.Stream<A, E, R> => |
| 7442 | unfoldChunkEffect(s, (s) => pipe(f(s), Effect.map(Option.map(([a, s]) => [Chunk.of(a), s])))) |
| 7443 | |
| 7444 | const void_: Stream.Stream<void> = succeed(void 0) |
| 7445 | export { |
no test coverage detected