You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
703 B
22 lines
703 B
7 years ago
|
var inherits = require('util').inherits
|
||
|
, Readable = require('stream').Readable
|
||
|
, ReadableAsyncKit = require('./lib/readable_asynckit.js')
|
||
|
, ReadableParallel = require('./lib/readable_parallel.js')
|
||
|
, ReadableSerial = require('./lib/readable_serial.js')
|
||
|
, ReadableSerialOrdered = require('./lib/readable_serial_ordered.js')
|
||
|
;
|
||
|
|
||
|
// API
|
||
|
module.exports =
|
||
|
{
|
||
|
parallel : ReadableParallel,
|
||
|
serial : ReadableSerial,
|
||
|
serialOrdered : ReadableSerialOrdered,
|
||
|
};
|
||
|
|
||
|
inherits(ReadableAsyncKit, Readable);
|
||
|
|
||
|
inherits(ReadableParallel, ReadableAsyncKit);
|
||
|
inherits(ReadableSerial, ReadableAsyncKit);
|
||
|
inherits(ReadableSerialOrdered, ReadableAsyncKit);
|