Type alias SidetrackQueues<Queues>

SidetrackQueues<Queues>: {
    [K in keyof Queues]: {
        handler: ((job) => Promise<unknown>);
        options?: {
            maxAttempts?: number;
        };
    }
}

Type Parameters

  • Queues extends Record<string, JsonValue>