UNPKG

@squareboat/nest-queue

Version:

The queue package for your NestJS Applications

10 lines (9 loc) 499 B
import { DriverJob, InternalMessage, QueueDriver } from "@squareboat/nest-queue-strategy"; export declare class SyncQueueDriver implements QueueDriver { constructor(); push(message: string, rawPayload: InternalMessage): Promise<void>; pull(options: Record<string, any>): Promise<DriverJob | null>; remove(job: DriverJob, options: Record<string, any>): Promise<void>; purge(options: Record<string, any>): Promise<void>; count(options: Record<string, any>): Promise<number>; }