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.

11 lines
447 B

2 years ago
  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. }