UNPKG

@nestjs/microservices

Version:

Microservices for NestJS: message and event handlers over Kafka, RabbitMQ, NATS, Redis, MQTT, gRPC or TCP.

17 lines (16 loc) • 388 B
/** * @publicApi */ export declare class BaseRpcContext<T = unknown[]> { protected readonly args: T; constructor(args: T); /** * Returns the array of arguments being passed to the handler. */ getArgs(): T; /** * Returns a particular argument by index. * @param index index of argument to retrieve */ getArgByIndex(index: number): any; }