[erlang-questions] error in gen_fsm:reply/2 docs??
Angel J. Alvarez Miguel
clist@REDACTED
Thu Jun 28 13:43:58 CEST 2012
Hi again..
gen_fsm:reply/2 does not return true (as stdlib 1.18-1 docs say ) but returns second argument ...
children_response(Pids,Data) ->
lists:foreach(fun(Child) -> Status = gen_fsm:reply(Child,Data)
,io:format("Sending replies got status = ~p\n",[Status]) end,Pids).
"Sending replies got status = {#Ref<0.0.0.765>,0.9999786930675343}"
/Angel
More information about the erlang-questions
mailing list