From 4a473fcd22b6e02b12aaeda1fc6723c80ff742b9 Mon Sep 17 00:00:00 2001
From: Documentation Bot Protected Readonlyis
ProtectedlastProtectedoptsProtected OptionalstatisticsProtectedtaskProtected ReadonlytaskProtectedtaskProtectedgetProtectedgetProtectedhandleProtectedhandleProtectedhandleProtectedhandleProtectedmessageProtected ReadonlyrunProtected ReadonlyrunProtected ReadonlyrunProtectedsendProtected ReadonlysendOptionalemitterProtected ReadonlyfileProtected Optional ReadonlymaximumProtected ReadonlyminimumProtected ReadonlyoptsProtectedpromiseProtectedstartedProtectedstartingProtected OptionalworkerReadonlyworkerProtectedbusyProtectedtypeProtectedworkerProtectedafterProtectedafterProtectedbeforeProtectedcheckProtectedcheckProtectedcreateProtectedcreateProtectedderegisterProtecteddestroyProtectedflagProtectedflushProtectedgetProtectedinternalProtectedinternalProtectedisProtectedregisterProtectedregisterProtectedsendProtectedsendProtectedsetupProtectedshallProtected ReadonlyworkerOptionalemitterProtected ReadonlyfileProtected Optional ReadonlymaximumProtected ReadonlyminimumProtected ReadonlyoptsProtectedpromiseProtectedstartedProtectedstartingProtected OptionalworkerReadonlyworkerProtectedbusyProtectedtypeProtectedworkerProtectedafterProtectedafterProtectedbeforeProtectedcheckProtectedcheckProtectedcreateProtectedcreateProtectedderegisterProtecteddestroyProtectedflagProtectedflushProtectedgetProtectedinternalProtectedinternalProtectedisProtectedregisterProtectedregisterProtectedsendProtectedsendProtectedsetupProtectedshallProtected ReadonlyworkerOptionalemitterProtected ReadonlyfileProtected Optional ReadonlymaximumProtected ReadonlyminimumProtected ReadonlyoptsProtectedpromiseProtectedstartedProtectedstartingProtected OptionalworkerReadonlyworkerProtectedbusyProtectedtypeProtectedworkerProtectedafterProtectedafterProtectedbeforeProtectedcheckProtectedcheckProtectedcreateProtectedcreateProtectedderegisterProtecteddestroyProtectedflagProtectedflushProtectedgetProtectedinternalProtectedinternalProtectedisProtectedregisterProtectedregisterProtectedsendProtectedsendProtectedsetupProtectedshallProtected ReadonlyworkerOptionalemitterProtected ReadonlyfileProtected Optional ReadonlymaximumProtected ReadonlyminimumProtected ReadonlyoptsProtectedpromiseProtectedstartedProtectedstartingProtected OptionalworkerReadonlyworkerProtectedbusyProtectedtypeProtectedworkerProtectedafterProtectedafterProtectedbeforeProtectedcheckProtectedcheckProtectedcreateProtectedcreateProtectedderegisterProtecteddestroyProtectedflagProtectedflushProtectedgetProtectedinternalProtectedinternalProtectedisProtectedregisterProtectedregisterProtectedsendProtectedsendProtectedsetupProtectedshallProtected ReadonlyworkerProtected ReadonlyisProtectedlastProtectedoptsProtected OptionalstatisticsProtectedtaskProtected ReadonlytaskProtectedtaskProtectedgetProtectedgetProtectedhandleProtectedhandleProtectedhandleProtectedhandleProtectedmessageProtected ReadonlyrunProtected ReadonlyrunProtected ReadonlyrunProtectedsendProtected ReadonlysendProtectedstartedWhether the pool is started or not.
ProtectedstartingWhether the pool is starting or not.
Protected OptionalworkerWorker choice strategies context referencing worker choice algorithms implementation.
ReadonlyworkerThe pool back pressure boolean status.
Protected AbstractbusyThe pool busyness boolean status.
Protected AbstracttypeProtected AbstractworkerProtectedafterProtectedafterProtectedbeforeProtected AbstractcheckProtected AbstractcheckProtectedcreateNew, completely set up dynamic worker node key.
ProtectedcreateNew, completely set up worker node key.
Protected AbstractderegisterProtecteddestroyProtectedflagProtectedflushProtectedgetThe worker information.
ProtectedinternalWorker nodes back pressure boolean status.
ProtectedinternalWorker nodes busyness boolean status.
Protected Abstractistrue if the worker is the main worker, false otherwise.
Protected AbstractregisterProtected AbstractregisterProtected AbstractsendProtected AbstractsendProtectedsetupProtected AbstractshallWhether to create a dynamic worker or not.
Protected ReadonlyworkerProtectedgetThe task function operation UUID if available.
Protected AbstracthandleThe worker error object.
ProtectedhandleProtected AbstracthandleProtectedhandleWhether the worker has a task function with the given name or not.
The properties of the worker's task functions.
ProtectedmessageWhether the task function existed and was removed or not.
Protected ReadonlyrunProtected ReadonlyrunProtected ReadonlyrunProtectedsendProtected AbstractsendWhether the default task function was set or not.
Readonlyenablepoolifier:<PoolType>-<Wo
Returns void
Readonlyexecutepoolifier:<PoolType>-<Wo
Returns Promise<Response>
Promise with a task function response that will be fulfilled when the task is completed.
Readonlyhaspoolifier:<PoolType>-<Wo
Returns boolean
true if the task function exists, false otherwise.
ReadonlyinfoPool information.
Readonlylistpoolifier:<PoolType>-<Wo
Returns TaskFunctionProperties[]
The properties of task functions available in this pool.
Readonlymappoolifier:<PoolType>-<Wo
Returns Promise<Response[]>
Promise with an array of task function responses that will be fulfilled when the tasks are completed.
Readonlyremovepoolifier:<PoolType>-<Wo
Returns Promise<boolean>
true if the task function was removed, false otherwise.
Readonlysetpoolifier:<PoolType>-<Wo
Returns Promise<boolean>
true if the default task function was set, false otherwise.
Readonlysetpoolifier:<PoolType>-<Wo
Returns void
Readonlysetpoolifier:<PoolType>-<Wo
Returns void
Readonlysetpoolifier:<PoolType>-<Wo
Returns boolean
true if the worker choice strategy options were set, false otherwise.
ReadonlystartStarts the minimum number of workers in this pool.
Optional ReadonlythreadWorker thread worker id.
Optional Readonlyunrefunref()
v10.5.0
EventEmitter instance. The value can be
Optionalenvhttps://nodejs.org/api/cluster.html#cluster_cluster_fork_env
Optionalerror() => {}
Optionalexit() => {}
Optionalmessage() => {}
Optionalonline() => {}
OptionalrestartRestart worker on error.
Optionalsettingshttps://nodejs.org/api/cluster.html#cluster_cluster_settings
OptionalstartOptionaltasksPool worker node tasks queue options.
OptionalworkerOptionalworkerThe worker choice strategy options.
Optionalworkerhttps://nodejs.org/api/worker_threads.html#new-workerfilename-options
Optional ReadonlyconcurrencyOptional ReadonlyloadOptional ReadonlysizeOptional ReadonlytasksOptional ReadonlytasksOptional ReadonlytasksOptional ReadonlytaskOptional ReadonlymeasurementMeasurement to use in worker choice strategy supporting it.
Optional ReadonlyrunOptional ReadonlywaitOptionalweightsOptionalkill() => {}
Optionalmax
Path to the worker file.