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.
- lazyConsume :: MonadBaseControl IO m => Source m a -> ResourceT m [a]
Documentation
lazyConsume :: MonadBaseControl IO m => Source m a -> ResourceT m [a]Source
Use lazy I/O to consume all elements from a Source
.
Since 0.0.0