Other than timer:send_after/2, is there a way to send a gen_server开发者_StackOverflow社区 a handle_info message?
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.
加载中,请稍侯......
精彩评论