Function start

Source
pub fn start() -> Result<(), JsValue>
Expand description

Initialize the wasm module.

This function is set to run as soon as the wasm module is instantiated. It applies some settings that are needed for all kinds of usage of maia-wasm. For instance, it sets a panic hook using the console_error_panic_hook crate.