UNPKG

761 BTypeScriptView Raw
1import { Type } from '@nestjs/common';
2import { Reflector } from '@nestjs/core';
3import { BullQueueEventOptions } from './bull.types';
4import { ProcessOptions } from './decorators';
5export declare class BullMetadataAccessor {
6 private readonly reflector;
7 constructor(reflector: Reflector);
8 isQueueComponent(target: Type<any> | Function): boolean;
9 isProcessor(target: Type<any> | Function): boolean;
10 isListener(target: Type<any> | Function): boolean;
11 getQueueComponentMetadata(target: Type<any> | Function): any;
12 getProcessMetadata(target: Type<any> | Function): ProcessOptions | undefined;
13 getListenerMetadata(target: Type<any> | Function): BullQueueEventOptions | undefined;
14}
15//# sourceMappingURL=bull-metadata.accessor.d.ts.map
\No newline at end of file