inaka / worker_pool

Erlang worker pool
https://hex.pm/packages/worker_pool
Apache License 2.0
276 stars 80 forks source link

Feature request: worker broadcast #105

Closed simonxuhao closed 7 years ago

simonxuhao commented 7 years ago

Is there a way to broadcast a message to all workers in a pool?

something like this:

wpool:cast(mypool, all_workers).

It's gonna be very useful in situations e.g. update configurations of all workers.

elbrujohalcon commented 7 years ago

I love this idea!