[ANN] Syn 1.5.0 - now with gen_server `via` tuple API support

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ANN] Syn 1.5.0 - now with gen_server `via` tuple API support

Roberto Ostinelli
Syn 1.5.0 has just been released.

For those of you who don't know it, Syn is a global Process Registry and Process Group manager for Erlang, which supports PubSub.

Besides minor optimizations, the main addition is that processes can now also be registered as gen_server names, by usage of via tuples. This way, you can use the gen_server API with these tuples without referring to the Pid directly:

Tuple = {via, syn, <<"your process name">>}.
gen_server:start_link(Tuple, your_module, []).
gen_server:call(Tuple, your_message).

Thank you to Heri Sim for the original implementation and Johanna Appel for completing it.


erlang-questions mailing list
[hidden email]