Wasmex.init

You're seeing just the function init, go back to Wasmex module for more information.

Params:

  • bytes (binary): the WASM bites defining the WASM module
  • imports (map): a map defining imports. Structure is:
               %{
                 namespace_name: %{
                   import_name: {:fn, [:i32, :i32], [:i32], function_reference}
                 }
               }