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

Check if the message worker id is set and matches the worker id.

Parameters

message: MessageValue<Data>
  • The message to check.