Static
getStatic
getGet a wasm module instance. The instance will be created if necessary and returned in the second parameter to callback.
Name of the module.
The function called when the instance is available.
Static
setSet a wasm module's configuration.
Name of the module.
Optional
config: { The configuration object.
Function to be called if the module fails to download.
URL of the fallback script to use when wasm modules aren't supported.
URL of glue script.
For modules running on worker threads, the number of threads to use. Default value is based on module implementation.
URL of the wasm script.
A pure static utility class which supports immediate and lazy loading of wasm modules.