11 lines
450 B
TypeScript
11 lines
450 B
TypeScript
/// <reference types="node" />
|
|
import { Task } from '../managers/tasks';
|
|
import ReaderStream from '../readers/stream';
|
|
import { ReaderOptions } from '../types';
|
|
import Provider from './provider';
|
|
export default class ProviderStream extends Provider<NodeJS.ReadableStream> {
|
|
protected _reader: ReaderStream;
|
|
read(task: Task): NodeJS.ReadableStream;
|
|
api(root: string, task: Task, options: ReaderOptions): NodeJS.ReadableStream;
|
|
}
|