effect-io-ai

Package: effect
Module: Take

Take.toPull

Converts a Take into a Pull, succeeding with value batches, failing with failure exits, and translating successful exits into pull completion.

When to use

Use to interpret a stored or transferred Take as a Pull step while preserving emitted batches, ordinary failures, and completion values.

Signature

declare const toPull: <A, E, Done>(take: Take<A, E, Done>) => Pull.Pull<NonEmptyReadonlyArray<A>, E, Done>

Source

Since v4.0.0