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

Checks if the taskFunctions parameter is passed to the constructor and valid.

Parameters

taskFunctions: TaskFunction<Data, Response> | TaskFunctions<Data, Response> | undefined
  • The task function(s) parameter that should be checked.