X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FClusterWorker.html;h=d5e75718ff77f9c791f5a5c5b4d8e9e0b03520b5;hb=e5c1b3572e6fe4cd11b32742c37039f3a6b3c373;hp=0936445f9381cc0097901adda83809652e3f4647;hpb=a3294554408b42a4df2e37eb69f9c8a554a0c2f3;p=poolifier.git diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 0936445f..d5e75718 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -7,7 +7,7 @@ but the minimum number of workers will be guaranteed.

Since

2.0.0

Type Parameters

Hierarchy

Constructors

Hierarchy

Constructors

Properties

activeInterval? isMain lastTaskTimestamp @@ -34,49 +34,49 @@ but the minimum number of workers will be guaranteed.

Constructors

Properties

activeInterval?: Timeout

Handler id of the activeInterval worker activity check.

-
isMain: boolean

Whether this is the main worker or not.

-
lastTaskTimestamp: number

Timestamp of the last task processed by this worker.

-
opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

Options for the worker.

-
statistics: WorkerStatistics

Performance statistics computation requirements.

-
taskFunctions: Map<string, TaskFunction<Data, Response>>

Task function(s) processed by the worker when the pool's execution function is invoked.

-

Accessors

Methods

Returns ClusterWorker<Data, Response>

Properties

activeInterval?: Timeout

Handler id of the activeInterval worker activity check.

+
isMain: boolean

Whether this is the main worker or not.

+
lastTaskTimestamp: number

Timestamp of the last task processed by this worker.

+
opts: WorkerOptions = DEFAULT_WORKER_OPTIONS

Options for the worker.

+
statistics: WorkerStatistics

Performance statistics computation requirements.

+
taskFunctions: Map<string, TaskFunction<Data, Response>>

Task function(s) processed by the worker when the pool's execution function is invoked.

+

Accessors

Methods

Returns void

Returns void

Returns void

Returns void

Returns void

Returns void

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file