UNPKG

@nestjs/microservices

Version:

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

13 lines (12 loc) • 221 B
export class ClientsContainer { clients = []; getAllClients() { return this.clients; } addClient(client) { this.clients.push(client); } clear() { this.clients = []; } }