UNPKG

@nestjs/microservices

Version:

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

4 lines (3 loc) • 196 B
import { RpcParamtype } from '../enums/rpc-paramtype.enum.js'; import { createRpcParamDecorator } from '../utils/param.utils.js'; export const Ctx = createRpcParamDecorator(RpcParamtype.CONTEXT);