Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method WorkerChoiceStrategyContext.prototype.executeStrategy
import { WorkerChoiceStrategyContext } from "https://deno.land/x/poolifier@v0.3.14/src/mod.ts";

Executes the given worker choice strategy.

Parameters

workerChoiceStrategy: IWorkerChoiceStrategy
  • The worker choice strategy.

Returns

number

The key of the worker node.