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

Roberto Ostinelli roberto@REDACTED
Wed Aug 3 17:45:38 CEST 2016

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160803/d655d0fc/attachment.htm>

More information about the erlang-questions mailing list