UNPKG

torotask

Version:

Task queue processing in NodeJS based on BullMQ and Redis

20 lines 533 B
import type { RepeatOptions } from 'bullmq'; export interface EventSubscriptionInfo { taskGroup: string; taskId: string; triggerId?: number; eventId?: string; payload?: any; } export type RepeatOptionsWithoutKey = Omit<RepeatOptions, 'key'>; export interface SyncJobReturn { registered: number; unregistered: number; errors: number; } export interface SyncJobPayload { taskGroup: string; taskId: string; desiredSubscriptions: EventSubscriptionInfo[]; } //# sourceMappingURL=events.d.ts.map