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

Checks if the worker has a task function with the given name.

Parameters

name: string
  • The name of the task function to check.

Returns

Whether the worker has a task function with the given name or not.