Type alias ProcessorPro<T, R, N>
Processor
Pro
<T, R, N>: ((job
: Job<T, R, N>, token
?: string) => Promise<R>)
Type Parameters
-
T = any
-
R = any
-
N extends string = string
Type declaration
-
- (job: Job<T, R, N>, token?: string): Promise<R>
-
Parameters
-
job: Job<T, R, N>
-
Optional
token: string
Returns Promise<R>