stream.d.ts 447 B

1234567891011
  1. /// <reference types="node" />
  2. import { Readable } from 'stream';
  3. import { Task } from '../managers/tasks';
  4. import ReaderStream from '../readers/stream';
  5. import { ReaderOptions } from '../types';
  6. import Provider from './provider';
  7. export default class ProviderStream extends Provider<Readable> {
  8. protected _reader: ReaderStream;
  9. read(task: Task): Readable;
  10. api(root: string, task: Task, options: ReaderOptions): Readable;
  11. }