( s: S, f: (s: S) => Effect.Effect<readonly [A, Option.Option<S>], E, R> )
| 4526 | |
| 4527 | /** @internal */ |
| 4528 | export const paginateEffect = <S, A, E, R>( |
| 4529 | s: S, |
| 4530 | f: (s: S) => Effect.Effect<readonly [A, Option.Option<S>], E, R> |
| 4531 | ): Stream.Stream<A, E, R> => |
| 4532 | paginateChunkEffect(s, (s) => pipe(f(s), Effect.map(([a, s]) => [Chunk.of(a), s] as const))) |
| 4533 | |
| 4534 | /** @internal */ |
| 4535 | export const peel = dual< |
no test coverage detected