X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=dcdbab58c107dafc64b9523a43c600cd18527c11;hb=d854790162e5f554fdda30b082d362fe14a9ac43;hp=2f483047e1c3abbac41cd3088cdc9f30cecd2dc3;hpb=5e5a659e2b415c7d533dad095eda082989983f8e;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 2f483047..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
strategyStrategy policy.
+Readonly
taskReadonly
updateGenerated using TypeDoc
Generated using TypeDoc
\ No newline at end of file
Worker choice strategy interface.