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

Sets the worker choice strategy to use in the context.

Parameters

workerChoiceStrategy: WorkerChoiceStrategy
  • The worker choice strategy to set.