An easy way to create a
from(function getChunk(count, next))
from takes a
getChunk function and returns a stream.
getChunk is called again and again, after each time the user calls
until the user emits
pause() is called, the
getChunk won't be called again untill
resume() is called.
var from =var stream =
from also takes an
Array whose elements it emits one after another.
MIT / Apache2