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

Checks if the worker id sent in the received message from a worker is valid.

Parameters

message: MessageValue<Data | Response>
  • The received message.