3 ms·
I'm not sure what you mean by "pull-based", but you can make the whole thing single-threaded with `#[tokio::main(flavor = "current_thread")]` See https://docs.
by fasterthanlime 4y ago
I'm not sure what you mean by "pull-based", but you can make the whole thing single-threaded with `#[tokio::main(flavor = "current_thread")]`
See https://docs.rs/tokio/latest/tokio/attr.main.html https://docs.rs/tokio/latest/tokio/attr.main.html