Rust: testing async WebAssembly code executed by spawn_local
·3 mins
In this post I am going to show a simple (and maybe naive) way to test a specific scenario that
involves async rust, the WebAssembly runtime and a synchronous function that is running the async
code using spawn_local
.