How can i set timeout for Receiver since old_io has been removed?


#1

I used Timer.oneshot() in my project, it can be used in select! to set timeout of Receiver.
Since the old_io module has been removed, how can i set timeout now?