• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1var inherits              = require('util').inherits
2  , Readable              = require('stream').Readable
3  , ReadableAsyncKit      = require('./lib/readable_asynckit.js')
4  , ReadableParallel      = require('./lib/readable_parallel.js')
5  , ReadableSerial        = require('./lib/readable_serial.js')
6  , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js')
7  ;
8
9// API
10module.exports =
11{
12  parallel      : ReadableParallel,
13  serial        : ReadableSerial,
14  serialOrdered : ReadableSerialOrdered,
15};
16
17inherits(ReadableAsyncKit, Readable);
18
19inherits(ReadableParallel, ReadableAsyncKit);
20inherits(ReadableSerial, ReadableAsyncKit);
21inherits(ReadableSerialOrdered, ReadableAsyncKit);
22