conduit-0.4.2: Streaming data processing library.

Safe HaskellSafe-Infered

Data.Conduit.Lazy

Description

Use lazy I/O for consuming the contents of a source. Warning: All normal warnings of lazy I/O apply. However, if you consume the content within the ResourceT, you should be safe.

Synopsis

Documentation

lazyConsume :: (MonadBaseControl IO m, MonadActive m) => Source m a -> m [a]Source

Use lazy I/O to consume all elements from a Source.

This function relies on monadActive to determine if the underlying monadic state has been closed.

Since 0.3.0