moleculerjs / moleculer

:rocket: Progressive microservices framework for Node.js
https://moleculer.services/
MIT License
6.13k stars 580 forks source link

Groups in broadcast event #177

Closed icebob closed 6 years ago

icebob commented 6 years ago

You can broadcast an event only for specific groups/services.

Same as emit:

this.broadcast(eventName, payload, groups);

The groups is an optional Array<String>.

Tasks:

icebob commented 6 years ago

Will be released in v0.12