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