UNPKG

node-resque

Version:

an opinionated implementation of resque in node

16 lines (14 loc) 278 B
export interface Job<TResult> { plugins: Array<any>; pluginOptions: { [pluginName: string]: { [key: string]: any; }; }; perform: (...args: any[]) => Promise<TResult>; } export interface JobEmit { queue?: string; class?: string; args?: Array<any>; }