+ this.workerChoiceStrategies.get(this.workerChoiceStrategy)?.reset()
+ }
+
+ /**
+ * Updates the worker node key in the worker choice strategy internals in the context.
+ *
+ * @returns `true` if the update is successful, `false` otherwise.
+ */
+ public update (workerNodeKey: number): boolean {
+ return (
+ this.workerChoiceStrategies.get(
+ this.workerChoiceStrategy
+ ) as IWorkerChoiceStrategy
+ ).update(workerNodeKey)