⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
jest-worker
/
build
/
Edit File: Farm.d.ts
/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { PromiseWithCustomMessage, WorkerCallback, WorkerFarmOptions } from './types'; export default class Farm { private readonly _numOfWorkers; private readonly _callback; private readonly _computeWorkerKey; private readonly _workerSchedulingPolicy; private readonly _cacheKeys; private readonly _locks; private _offset; private readonly _taskQueue; constructor(_numOfWorkers: number, _callback: WorkerCallback, options?: WorkerFarmOptions); doWork(method: string, ...args: Array<unknown>): PromiseWithCustomMessage<unknown>; private _process; private _push; private _getNextWorkerOffset; private _lock; private _unlock; private _isLocked; }
Simpan