webhook-action/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 10:43:16 +00: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 10:43:16 +00:00
protected _reader: ReaderAsync;
read(task: Task): Promise<EntryItem[]>;
2022-11-10 10:43:16 +00:00
api(root: string, task: Task, options: ReaderOptions): Promise<Entry[]>;
}