Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProcessCallback

import type { ProcessCallback } from "https://raw.githubusercontent.com/egoist/promise-queue/master/src/index.ts";
type ProcessCallback<TProcessArgs extends any[]> = (job: string, ...args: TProcessArgs) => void | Promise<void>;

§Type Parameters

§
TProcessArgs extends any[]
[src]

§Type

§
(job: string, ...args: TProcessArgs) => void | Promise<void>
[src]