4 ms·
If you want to call an async function from a sync context, use `futures::executor::block_on`. Nobody is forcing you to use async.
by techbrovanguard 3y ago
If you want to call an async function from a sync context, use `futures::executor::block_on`. Nobody is forcing you to use async.