3 ms·
I've been trying a couple of approaches already, but first we're aiming correctness and after that async/await. Many libraries use tokio::spawn behind the scen
by pimeys 7y ago
I've been trying a couple of approaches already, but first we're aiming correctness and after that async/await.
Many libraries use tokio::spawn behind the scenes, so it seems we need compat from 0.1 to 0.3 and back to 0.1 to get old futures to work with async/await and the resulting futures to work in 0.1 tokio.
Last time I checked the async/await feature in tokio had some weird crashes and tokio::spawn crashes when used inside romio...