X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=dd9ae8d096761f959a17c8ca792f9d9ffec6a92b;hb=410724041bab556be1385c56f9a32e5030f6f2cf;hp=f8f1bd711f50dead13b80a0096bef94d83b8c2fd;hpb=c7e01b67847217903200f2453a4ffd4ba6bb191a;p=poolifier.git diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html index f8f1bd71..dd9ae8d0 100644 --- a/docs/interfaces/IWorkerChoiceStrategy.html +++ b/docs/interfaces/IWorkerChoiceStrategy.html @@ -1,13 +1,13 @@ -
Readonly
chooseReadonly
chooseReadonly
removeReadonly
resetReadonly
setReadonly
strategyReadonly
taskReadonly
updateUpdates the worker node key strategy internals.
+Updates the worker node key strategy internals. +This is called after a task has been executed on a worker node.
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Chooses a worker node in the pool and returns its key.
+Chooses a worker node in the pool and returns its key. +If no worker nodes are not eligible,
undefined
is returned. +Ifundefined
is returned, the caller retry.Returns number
The worker node key.
+Returns undefined | number
The worker node key or
undefined
.