@logistically/events-nestjs
Version:
NestJS integration for @logistically/events v3 - Event-driven architecture with Redis Streams
5 lines (4 loc) • 352 B
TypeScript
import { NestJSEventHandlerOptions } from '../types/config.types';
export declare const EVENT_HANDLER_METADATA = "event:handler";
export declare function EventHandler(options: NestJSEventHandlerOptions): MethodDecorator;
export declare function getEventHandlerMetadata(target: any, propertyKey: string | symbol): NestJSEventHandlerOptions | undefined;