I have written a TCP server in mio and registered multiple timeouts, but only the last registered timeout fires. Do I need a wrapper for my timeouts to combine them or are there any other ways to register multiple timeouts in mio v0.5?
Is it possible to register multiple timeouts in mio?
109 views Asked by kper At
1
I registered a tuple with an id
It didn't work, so I added
id
toServerTimeout::T1
and called thetimeout_ms
method again: