X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=61f31b63411520d2ef6e2f8ee773f1a4bf239e62;hb=2041f3d8b2564bfab8e30db6a87dba283219ca86;hp=a93f631bbcef12a7e1ad88a9592d0d55af547b7b;hpb=6d6c7ed0c2c3c83cefae4d8cd5bc9393126bba70;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index a93f631b..61f31b63 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.