async.d.ts 425 B

123456789
  1. import { Task } from '../managers/tasks';
  2. import { Entry, EntryItem, ReaderOptions } from '../types';
  3. import ReaderAsync from '../readers/async';
  4. import Provider from './provider';
  5. export default class ProviderAsync extends Provider<Promise<EntryItem[]>> {
  6. protected _reader: ReaderAsync;
  7. read(task: Task): Promise<EntryItem[]>;
  8. api(root: string, task: Task, options: ReaderOptions): Promise<Entry[]>;
  9. }