Tokio 0.2.4 spin loop executor

What would be the best way to make a single threaded spin loop with tokio?
Basically an equivalent of 100% CPU loop with non-blocking sockets.
I saw an example SpinExecutor in documentation, but that's for v0.1 of tokio.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.