X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=f99cf84b0269fe7e00097972afa5da8d619d0d65;hb=95c333666812f5db34b93c20d8851f2755d1c920;hp=2bd82bd7067f23ef4bdbd5a28991c4a8099bb684;hpb=2447ee8ce5d3db1253c7286482e5a54e84618ecf;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 2bd82bd7..f99cf84b 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
.