async.d.ts 473 B

12345678910
  1. import * as fsWalk from '@nodelib/fs.walk';
  2. import { Entry, ReaderOptions, Pattern } from '../types';
  3. import Reader from './reader';
  4. import ReaderStream from './stream';
  5. export default class ReaderAsync extends Reader<Promise<Entry[]>> {
  6. protected _walkAsync: typeof fsWalk.walk;
  7. protected _readerStream: ReaderStream;
  8. dynamic(root: string, options: ReaderOptions): Promise<Entry[]>;
  9. static(patterns: Pattern[], options: ReaderOptions): Promise<Entry[]>;
  10. }