UNPKG

@cavai/adonis-queue

Version:
13 lines (12 loc) 532 B
import { QueueDriverList } from './types'; /** * 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").default; } declare const _default: DriversCollection; export default _default;