Re:Rust’s async isn’t colored
by kuschku on Sunday March 14, 2021 @09:16PM
(#26461491)
It doesn't, as promise resolution and execution is scheduled as new tasks on the main thread, which are only ever run if the currently executing piece of code finishes.
That's pretty much identical between IO, setTimeout/setInterval and requestAnimationFrame
That's pretty much identical between IO, setTimeout/setInterval and requestAnimationFrame