eventual-stream

Promise to give back a readable stream later

npm install eventual-stream
1 downloads in the last week
6 downloads in the last month

eventual-stream

Promise to give back a readable stream later

Example

var from = require("read-stream").fromArray
    , to = require("write-stream").toArray
    , EventualStream = require("eventual-stream")

var fulfill = EventualStream()

fulfill.stream.pipe(to(function (list) {
    console.log("eventual", list)
}))

setTimeout(function () {
    fulfill(from([1,2,3]))
}, 1000)

Installation

npm install eventual-stream

Contributors

  • Raynos

MIT Licenced

npm loves you