[erlang-questions] gen_server call and reply

Anthony Shipman <>
Sun Sep 16 11:50:21 CEST 2007


The following code works for me in a gen_server.

handle_call(ok, From, State) ->
    gen_server:reply(From, hello),
    {noreply, State};

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

-- 
Anthony Shipman                    Mamas don't let your babies 
                   grow up to be outsourced.



More information about the erlang-questions mailing list