[erlang-questions] gen_server call and reply

Christian S chsu79@REDACTED
Sun Sep 16 14:17:03 CEST 2007


> The documentation doesn't imply that I can do this. Is this something I can
> rely on?

This is what the documentation says:
> If the functions returns {noreply,NewState} or {noreply,NewState,Timeout}, the gen_server
> will continue executing with NewState. Any reply to From must be given explicitly using
> gen_server:reply/2.

See http://erlang.org/doc/man/gen_server.html#Module:handle_call/3

Or did you mean something else with your snippet?



More information about the erlang-questions mailing list