Other than timer:send_after(0, message), is there a way to send a gen_server a handle_info
message?
views:
57answers:
1
+6
A:
Every message to a gen_server process other than a call, cast or sys message will be handled by the handle_info
function, so just GenServerPid ! Msg
. If you're sending the message to the same process, self() ! Msg
.
archaelus
2010-05-25 22:25:07