FSharpx.Extras


Iteratee<'Chunk, 'T>

Namespace: FSharpx.Functional

The iteratee is a stream consumer that will consume a stream of data until either it receives an EOF or meets its own requirements for consuming data. The iteratee will return Continue whenever it is ready to receive the next chunk. An iteratee is fed data by an Enumerator, which generates a Stream.

Union Cases

Union CaseDescription
Continue(...)
Signature: Stream<'Chunk> -> Iteratee<'Chunk,'T>
Done('T,Stream<'Chunk>)
Signature: 'T * Stream<'Chunk>
Error(exn)
Signature: exn
Fork me on GitHub