Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
jest-worker /
build /
Delete
Unzip
Name
Size
Permission
Date
Action
base
[ DIR ]
drwxr-xr-x
2024-07-10 10:56
workers
[ DIR ]
drwxr-xr-x
2024-07-10 10:56
Farm.d.ts
900
B
-rw-r--r--
2023-12-13 10:07
Farm.js
4.07
KB
-rw-r--r--
2023-12-13 10:07
FifoQueue.d.ts
688
B
-rw-r--r--
2023-12-13 10:07
FifoQueue.js
2.21
KB
-rw-r--r--
2023-12-13 10:07
PriorityQueue.d.ts
1.44
KB
-rw-r--r--
2023-12-13 10:07
PriorityQueue.js
3.81
KB
-rw-r--r--
2023-12-13 10:07
WorkerPool.d.ts
672
B
-rw-r--r--
2023-12-13 10:07
WorkerPool.js
1.03
KB
-rw-r--r--
2023-12-13 10:07
index.d.ts
2.38
KB
-rw-r--r--
2023-12-13 10:07
index.js
5.87
KB
-rw-r--r--
2023-12-13 10:07
types.d.ts
7.91
KB
-rw-r--r--
2023-12-13 10:07
types.js
2.34
KB
-rw-r--r--
2023-12-13 10:07
Save
Rename
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /// <reference types="node" /> import type { PoolExitResult, WorkerFarmOptions, WorkerModule } from './types'; export { default as PriorityQueue } from './PriorityQueue'; export { default as FifoQueue } from './FifoQueue'; export { default as messageParent } from './workers/messageParent'; export type { PromiseWithCustomMessage, TaskQueue, WorkerFarmOptions, WorkerPoolInterface, WorkerPoolOptions, } from './types'; export declare type JestWorkerFarm<T extends Record<string, unknown>> = Worker & WorkerModule<T>; /** * The Jest farm (publicly called "Worker") is a class that allows you to queue * methods across multiple child processes, in order to parallelize work. This * is done by providing an absolute path to a module that will be loaded on each * of the child processes, and bridged to the main process. * * Bridged methods are specified by using the "exposedMethods" property of the * "options" object. This is an array of strings, where each of them corresponds * to the exported name in the loaded module. * * You can also control the amount of workers by using the "numWorkers" property * of the "options" object, and the settings passed to fork the process through * the "forkOptions" property. The amount of workers defaults to the amount of * CPUS minus one. * * Queueing calls can be done in two ways: * - Standard method: calls will be redirected to the first available worker, * so they will get executed as soon as they can. * * - Sticky method: if a "computeWorkerKey" method is provided within the * config, the resulting string of this method will be used as a key. * Every time this key is returned, it is guaranteed that your job will be * processed by the same worker. This is specially useful if your workers * are caching results. */ export declare class Worker { private _ending; private readonly _farm; private readonly _options; private readonly _workerPool; constructor(workerPath: string | URL, options?: WorkerFarmOptions); private _bindExposedWorkerMethods; private _callFunctionWithArgs; getStderr(): NodeJS.ReadableStream; getStdout(): NodeJS.ReadableStream; start(): Promise<void>; end(): Promise<PoolExitResult>; }