@nestjs/microservices
Version:
Microservices for NestJS: message and event handlers over Kafka, RabbitMQ, NATS, Redis, MQTT, gRPC or TCP.
11 lines (10 loc) • 306 B
TypeScript
import { ClientOptions } from '../interfaces/client-metadata.interface.js';
/**
* Attaches the `ClientProxy` instance to the given property
*
* @param {ClientOptions} metadata optional client metadata
*
* @publicApi
*
*/
export declare function Client(metadata?: ClientOptions): PropertyDecorator;