Function ready

Initializes the WASM module and ensures it is ready for use.

This function dynamically imports the WASM module using Emscripten and sets up its initialization callbacks. It returns a Promise that resolves once the module is fully initialized. If the module is already initialized, the Promise resolves immediately.

  • Returns Promise<void>

    A Promise that resolves when the WASM module is ready.