UNPKG

@takentrade/takentrade-libs

Version:
23 lines (22 loc) 708 B
import { ConfigService } from '@nestjs/config'; import { SharedBullConfigurationFactory } from '@nestjs/bullmq'; export declare class BullConfigFactory implements SharedBullConfigurationFactory { private configService; constructor(configService: ConfigService); createSharedConfiguration(): { connection: { host: string | undefined; port: number | undefined; password: string | undefined; }; defaultJobOptions: { removeOnComplete: boolean; removeOnFail: boolean; attempts: number; backoff: { type: string; delay: number; }; }; }; }