Pass a JavaScript Function to WebAssembly and Invoke it from Rust

Share this video with your friends

Send Tweet

In some cases it’s useful to be able to invoke a JavaScript function inside Rust. This session showcases how this can be done, by passing along our JavaScript functions to the WebAssembly module instantiation.

~ 3 years ago

I´m sorry, but I think I´ll have to ask for a refund... To this point I barely learned anything on egghead.io as a newbie. Not that I´ve never been doing web-development, but in allmost every video the teachers just rush over almost everything and basically read their code instead of trying to give a proper explanation on what it actually does. Really sad... :/