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

Chooses a worker node for the next task.

The default worker choice strategy uses a round robin algorithm to distribute the tasks.

Returns

number

The chosen worker node key