1 | import { Transport } from '../enums';
|
2 | /**
|
3 | * Subscribes to incoming events which fulfils chosen pattern.
|
4 | */
|
5 | export declare const EventPattern: {
|
6 | <T = string>(metadata?: T): MethodDecorator;
|
7 | <T = string>(metadata?: T, transport?: Transport | symbol): MethodDecorator;
|
8 | <T = string>(metadata?: T, extras?: Record<string, any>): MethodDecorator;
|
9 | <T = string>(metadata?: T, transport?: Transport | symbol, extras?: Record<string, any>): MethodDecorator;
|
10 | };
|