Skip to main content

init

Function init 

Source
pub fn init()
Expand description

Initialize the WASM module.

This is automatically called when the module loads. Sets up the panic hook for better error messages in the browser console.