webhook/node_modules/fast-glob/out/providers/async.d.ts

10 lines
425 B
TypeScript
Raw Normal View History

import { Task } from '../managers/tasks';
2022-11-10 11:43:16 +01:00
import { Entry, EntryItem, ReaderOptions } from '../types';
import ReaderAsync from '../readers/async';
import Provider from './provider';
export default class ProviderAsync extends Provider<Promise<EntryItem[]>> {
2022-11-10 11:43:16 +01:00
protected _reader: ReaderAsync;
read(task: Task): Promise<EntryItem[]>;
2022-11-10 11:43:16 +01:00
api(root: string, task: Task, options: ReaderOptions): Promise<Entry[]>;
}