Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F87881711
WorkerPool.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Oct 15, 13:22
Size
691 B
Mime Type
text/x-java
Expires
Thu, Oct 17, 13:22 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21670527
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
WorkerPool.d.ts
View Options
/**
* 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 BaseWorkerPool from './base/BaseWorkerPool';
import type { ChildMessage, OnCustomMessage, OnEnd, OnStart, WorkerInterface, WorkerOptions, WorkerPoolInterface } from './types';
declare class WorkerPool extends BaseWorkerPool implements WorkerPoolInterface {
send(workerId: number, request: ChildMessage, onStart: OnStart, onEnd: OnEnd, onCustomMessage: OnCustomMessage): void;
createWorker(workerOptions: WorkerOptions): WorkerInterface;
}
export default WorkerPool;
Event Timeline
Log In to Comment