Type alias SandboxedJobProcessor<T, R>

SandboxedJobProcessor<T, R>: ((job: SandboxedJob<T, R>) => R | PromiseLike<R>) | ((job: SandboxedJob<T, R>, callback: ((error: unknown, result: R) => void)) => void)

Type Parameters

  • T = any

  • R = any

Generated using TypeDoc