mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-29 19:05:22 +01:00
12 lines
481 B
TypeScript
12 lines
481 B
TypeScript
|
/// <reference types="node" />
|
||
|
import { Readable } from 'stream';
|
||
|
import { Task } from '../managers/tasks';
|
||
|
import ReaderStream from '../readers/stream';
|
||
|
import { EntryItem, ReaderOptions } from '../types';
|
||
|
import Provider from './provider';
|
||
|
export default class ProviderAsync extends Provider<Promise<EntryItem[]>> {
|
||
|
protected _reader: ReaderStream;
|
||
|
read(task: Task): Promise<EntryItem[]>;
|
||
|
api(root: string, task: Task, options: ReaderOptions): Readable;
|
||
|
}
|