1 | import { BaseRpcContext } from './base-rpc.context';
|
2 | type RmqContextArgs = [Record<string, any>, any, string];
|
3 | export declare class RmqContext extends BaseRpcContext<RmqContextArgs> {
|
4 | constructor(args: RmqContextArgs);
|
5 | /**
|
6 | * Returns the original message (with properties, fields, and content).
|
7 | */
|
8 | getMessage(): Record<string, any>;
|
9 | /**
|
10 | * Returns the reference to the original RMQ channel.
|
11 | */
|
12 | getChannelRef(): any;
|
13 | /**
|
14 | * Returns the name of the pattern.
|
15 | */
|
16 | getPattern(): string;
|
17 | }
|
18 | export {};
|