Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/mod.ts>TaskFunctions

Fast and small web worker pool
Latest
type alias TaskFunctions
import { type TaskFunctions } from "https://deno.land/x/poolifier@v0.3.14/src/mod.ts";

Tasks functions that can be executed. This object can contain synchronous or asynchronous functions. The key is the name of the function. The value is the function itself.

Type Parameters

optional
Data = unknown
optional
Response = unknown
definition: Record<string, TaskFunction<Data, Response>>