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.
10 lines
416 B
10 lines
416 B
4 weeks ago
|
import { Task } from '../managers/tasks';
|
||
|
import { Entry, EntryItem, ReaderOptions } from '../types';
|
||
|
import ReaderAsync from '../readers/async';
|
||
|
import Provider from './provider';
|
||
|
export default class ProviderAsync extends Provider<Promise<EntryItem[]>> {
|
||
|
protected _reader: ReaderAsync;
|
||
|
read(task: Task): Promise<EntryItem[]>;
|
||
|
api(root: string, task: Task, options: ReaderOptions): Promise<Entry[]>;
|
||
|
}
|