mirror of
https://github.com/deployphp/action.git
synced 2024-11-23 20:39:02 +00:00
12 lines
436 B
TypeScript
12 lines
436 B
TypeScript
|
/// <reference types="node" />
|
||
|
import { Readable } from 'stream';
|
||
|
import { Task } from '../managers/tasks';
|
||
|
import ReaderStream from '../readers/stream';
|
||
|
import { ReaderOptions } from '../types';
|
||
|
import Provider from './provider';
|
||
|
export default class ProviderStream extends Provider<Readable> {
|
||
|
protected _reader: ReaderStream;
|
||
|
read(task: Task): Readable;
|
||
|
api(root: string, task: Task, options: ReaderOptions): Readable;
|
||
|
}
|