X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=dcdbab58c107dafc64b9523a43c600cd18527c11;hb=d854790162e5f554fdda30b082d362fe14a9ac43;hp=58d14352b22235fc7ee67515ac13e7564ba1303d;hpb=18fea9f10a9d1fd8bbbc4738284939868faa0db5;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 58d14352..dcdbab58 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,4 +1,4 @@ -
Internal
Readonly
chooseChooses 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.
The worker node key.
+The worker node key or undefined
.
Readonly
removeThe worker node key.
-true
if the worker node key is removed, false
otherwise.
Readonly
resetReadonly
setThe worker choice strategy options.
-Readonly
strategyReadonly
taskReadonly
updateGenerated using TypeDoc
Generated using TypeDoc
\ No newline at end of file
Worker choice strategy interface.