Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

async.d.ts 481B

1234567891011
  1. /// <reference types="node" />
  2. import { Readable } from 'stream';
  3. import { Task } from '../managers/tasks';
  4. import ReaderStream from '../readers/stream';
  5. import { EntryItem, ReaderOptions } from '../types';
  6. import Provider from './provider';
  7. export default class ProviderAsync extends Provider<Promise<EntryItem[]>> {
  8. protected _reader: ReaderStream;
  9. read(task: Task): Promise<EntryItem[]>;
  10. api(root: string, task: Task, options: ReaderOptions): Readable;
  11. }