work.suroh.tk/node_modules/fast-glob/out/providers/async.d.ts

11 lines
458 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
/// <reference types="node" />
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): NodeJS.ReadableStream;
}