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.
12 lines
470 B
12 lines
470 B
2 years ago
|
/// <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;
|
||
|
}
|