3 ms·
Last time I tried you couldn't call block_on inside another call to block_on, so you can't always just "throw it on the executor". But it's been a year since I
by MichaelBurge 6y ago
Last time I tried you couldn't call block_on inside another call to block_on, so you can't always just "throw it on the executor".
But it's been a year since I tried so maybe executors are more likely to support arbitrarily-nested async -> sync -> async -> sync ... chains now.