Other than timer:send_after/2, is there a way to send a gen_server 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With