pull-queue
Pull stream with queue
API
queue(through, options)
- Returns a duplex stream with built-in-queue
Options
sendMany
: If true will treat arrays as multiple items
Examples
Validate Data
Split words
msgpack unpack
FAQ
Q: Why a duplex?
A: Because otherwise we would have to return null for some reads which causes trouble
Q: Why not pull-through?
A: See Q#1