X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=4cab7975aa43603aba7b228ab65582643db21e03;hb=0628df39eb1eb95630d08d9759a83c750a34ff7e;hp=694a3c4c475ccf8a9883756f50acb1d110da2bc0;hpb=a97f9c80aa49c6152547fb6fa8de4b0f089c2353;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index 694a3c4c..4cab7975 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.