X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=9cd1e2749f322c4dc32c0c840336f63995fc0b11;hb=6c4fa3e1bd11a23fd83b8492ad941a323853de06;hp=9ccb8d3c3b6ab821ea4e12f9265387a3db797e41;hpb=44b95861ed9dfa91b25f397c9b3cad9586454546;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 9ccb8d3c..9cd1e274 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,13 +1,13 @@ -
Readonly
chooseReadonly
chooseReadonly
removeReadonly
resetReadonly
setReadonly
strategyReadonly
taskReadonly
updateUpdates the worker node key strategy internals.
+Updates the worker node key strategy internals. +This is called after a task has been executed on a worker node.
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Chooses a worker node in the pool and returns its key.
+Chooses a worker node in the pool and returns its key. +If no worker nodes are not eligible,
undefined
is returned. +Ifundefined
is returned, the caller retry.Returns number
The worker node key.
+Returns undefined | number
The worker node key or
undefined
.