3 ms·
Usually you're reaching for block_on because a library you want to use is async. Almost certainly the library you're using will have already be depending on an
by bryanlarsen 3y ago
Usually you're reaching for block_on because a library you want to use is async. Almost certainly the library you're using will have already be depending on an async library, so by pulling it in yourself you're not adding additional dependencies.