X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=415c2188a80af5bb83c1ddf84a16b71df3516797;hb=7ab352a62ac2ae168541b47090e4085a28952f07;hp=e4a82908643347ee64599f6f0e7805ccb653b1ec;hpb=a6b5c73ccccb3ef0ccc24ad462182e3cacee77b4;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index e4a82908..1a0ad85a 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.