版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112
  1. import AsyncReader from '../readers/async';
  2. import type Settings from '../settings';
  3. import type { Entry, Errno } from '../types';
  4. export declare type AsyncCallback = (error: Errno, entries: Entry[]) => void;
  5. export default class AsyncProvider {
  6. private readonly _root;
  7. private readonly _settings;
  8. protected readonly _reader: AsyncReader;
  9. private readonly _storage;
  10. constructor(_root: string, _settings: Settings);
  11. read(callback: AsyncCallback): void;
  12. }