Hey guess what, pull-streams can be passed around, are cancelable and don't require crappy additions to the language https://github.com/pull-stream/pull-stream …
-
-
Replying to @yoshuawuyts
have you been using pull streams in any projects? what have your impressions been?
1 reply 0 retweets 0 likes -
Replying to @hackergrrl @noffle
wanted to for last client project, but ecosystem is sparse and would take too long to build modules - pull-stream is brilliant tho
3 replies 0 retweets 1 like -
Replying to @yoshuawuyts
trying to wrap my head around how I'd make a through that read 1 value and produces 2. wouldn't things break if I cb'd twice?
3 replies 0 retweets 0 likes -
simplest: pull(pull.map(mapToArray), pull.flatten())
1 reply 0 retweets 0 likes -
also, https://github.com/pull-stream/pull-through … has .queue(data) just like https://github.com/dominictarr/through …
1 reply 0 retweets 0 likes
I reckon we should add these things to the docs: like, here's some common things you'd probably want to do. These good @noffle
-
-
Replying to @yoshuawuyts @dominictarr
created https://github.com/dominictarr/pull-stream-examples/pull/3 … and https://github.com/pull-stream/pull-stream/pull/48 …
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.