[erlang-questions] gen_server:cast/call and {via, Module, ViaName}
Loïc Hoguin
essen@REDACTED
Mon Jul 16 16:43:25 CEST 2018
gen_server:call/2 calls gen:call which handles the via tuple.
On 07/16/2018 04:38 PM, T Ty wrote:
> Hello,
>
> Looking a the code I notice that a gen_server:cast({via, M, N}, Msg)
> would use M:send/2 but there does not seem to be a similar functionality
> for gen_server:call/2.
>
> Was this intentional ?
>
> Thanks
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
--
Loïc Hoguin
https://ninenines.eu
More information about the erlang-questions
mailing list