Sha256: 04a4b38c6a1682059eac00e7d0948d99c46642b57003d61d0fe9ccc9df442887

Contents?: true

Size: 1.07 KB

Versions: 54

Compression:

Stored size: 1.07 KB

Contents

/// <reference types="node" />
import { EventEmitter } from 'events';
import * as fsScandir from '@nodelib/fs.scandir';
import type Settings from '../settings';
import type { Entry, Errno } from '../types';
import Reader from './reader';
declare type EntryEventCallback = (entry: Entry) => void;
declare type ErrorEventCallback = (error: Errno) => void;
declare type EndEventCallback = () => void;
export default class AsyncReader extends Reader {
    protected readonly _settings: Settings;
    protected readonly _scandir: typeof fsScandir.scandir;
    protected readonly _emitter: EventEmitter;
    private readonly _queue;
    private _isFatalError;
    private _isDestroyed;
    constructor(_root: string, _settings: Settings);
    read(): EventEmitter;
    get isDestroyed(): boolean;
    destroy(): void;
    onEntry(callback: EntryEventCallback): void;
    onError(callback: ErrorEventCallback): void;
    onEnd(callback: EndEventCallback): void;
    private _pushToQueue;
    private _worker;
    private _handleError;
    private _handleEntry;
    private _emitEntry;
}
export {};

Version data entries

54 entries across 54 versions & 4 rubygems

Version Path
rapid_stack-0.2.0 templates/frontend/node_modules/@nodelib/fs.walk/out/readers/async.d.ts
rapid_stack-0.1.1 templates/FrontEnd/node_modules/@nodelib/fs.walk/out/readers/async.d.ts
rapid_stack-0.1.0 templates/FrontEnd/node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.60 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.59 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.58 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.57 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.56 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.55 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.54 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.53 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.52 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
trusty-cms-6.3.1 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.51 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.50 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.49 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.48 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.47 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.46 node_modules/@nodelib/fs.walk/out/readers/async.d.ts
immosquare-cleaner-0.1.45 node_modules/@nodelib/fs.walk/out/readers/async.d.ts