Piecemeal stream usage
This commit is contained in:
parent
828a8bda98
commit
7bdb29bbfc
2 changed files with 15 additions and 7 deletions
13
stream/index.js
Normal file
13
stream/index.js
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue