Skip to main content

initSync

Callable


  • Instantiates the given module, which can either be bytes or a precompiled WebAssembly.Module.


    Parameters

    • module: { memory?: Memory; module: SyncInitInput; thread_stack_size?: number } | SyncInitInput

      Passing SyncInitInput directly is deprecated.

      • optionalmemory: Memory
      • module: SyncInitInput
      • optionalthread_stack_size: number
    • optionalmemory: Memory

      Deprecated.

    Returns InitOutput