Piecemeal stream usage

This commit is contained in:
Sebastian Sandqvist 2016-08-15 12:09:22 -07:00
parent 828a8bda98
commit 7bdb29bbfc
2 changed files with 15 additions and 7 deletions

13
stream/index.js Normal file
View file

@ -0,0 +1,13 @@
"use strict";
var log = console.error.bind(console)
var StreamFactory = require("../util/stream")
var Stream = StreamFactory(log)
var stream = Stream.stream;
stream.combine = Stream.combine
stream.reject = Stream.reject
stream.merge = Stream.merge
stream.HALT = Stream.HALT
module.exports = stream;