X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=c95ecd3e4dabd72c525d8a61fbaa911ec1a44f4c;hb=a93f5559e2dd5ff7fd49afdd43bc9806cff92f56;hp=c85c5110c79a84adc94e0aea623f763e0fd44f4f;hpb=a15339d10554e3130fa1d8957163cb29a8eb2c41;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index c85c5110..c95ecd3e 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,4 +1,4 @@ -
Readonly
chooseReadonly
removeReadonly
resetReadonly
setReadonly
strategyReadonly
taskReadonly
update
Chooses a worker node in the pool and returns its key.
+Chooses a worker node in the pool and returns its key. +If the worker node is not eligible,
undefined
is returned.Returns number
The worker node key.
+Returns undefined | number
The worker node key or
undefined
.