UNPKG

@cavai/adonis-queue

Version:
13 lines (12 loc) 543 B
import type { QueueDriverList } from './types.js'; /** * A singleton collection of drivers for the entire lifecycle of * the application. */ declare class DriversCollection { list: Partial<QueueDriverList>; extend<Name extends keyof QueueDriverList>(driverName: Name, factoryCallback: QueueDriverList[Name]): this; create<Name extends keyof QueueDriverList>(name: Name, config: Parameters<QueueDriverList[Name]>[0]): import("./drivers/database.js").default; } declare const _default: DriversCollection; export default _default;