Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

stream.js 703B

123456789101112131415161718192021
  1. var 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. // API
  9. module.exports =
  10. {
  11. parallel : ReadableParallel,
  12. serial : ReadableSerial,
  13. serialOrdered : ReadableSerialOrdered,
  14. };
  15. inherits(ReadableAsyncKit, Readable);
  16. inherits(ReadableParallel, ReadableAsyncKit);
  17. inherits(ReadableSerial, ReadableAsyncKit);
  18. inherits(ReadableSerialOrdered, ReadableAsyncKit);