pub fn wasm_init()
Expand description
This function will call all instances of crate::wasm_init!
.
This function can be called either:
- from Rust as part of an entrypoint
- from JavaScript/TypeScript by calling the exported
wasm_init
function in your module - automatically, by enabling the “auto-init” feature
This function is idempotent, or safe to call multiple times;
your crate::wasm_init!
calls will only be executed once.