Copyright | Copyright © 2013-2015 PivotCloud, Inc. |
---|---|
License | Apache-2.0 |
Maintainer | Jon Sterling <jsterling@alephcloud.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
- data ChunkingPolicy = ChunkingPolicy {}
- chunkedSourceFromQueue :: BoundedCloseableQueue q α => ChunkingPolicy -> q -> Source IO [α]
Documentation
data ChunkingPolicy Source
A policy for chunking the contents of the message queue.
ChunkingPolicy | |
|
chunkedSourceFromQueue :: BoundedCloseableQueue q α => ChunkingPolicy -> q -> Source IO [α] Source
A Source
that reads chunks off a bounded STM queue according some
ChunkingPolicy
.