UNPKG

@nestjs/microservices

Version:

Nest - modern, fast, powerful node.js web framework (@microservices)

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; }