import { Job } from '../classes/job'; /** * An async function that receives `Job`s and handles them. */ export type Processor = (job: Job, token?: string, signal?: AbortSignal) => Promise;