Skip to content
Promise to give back a readable stream later
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
.gitignore
LICENCE
README.md
index.js
package.json

README.md

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

Something went wrong with that request. Please try again.