initWebAssemblyModule

suspend fun initWebAssemblyModule(options: TaskProcessor.InitWebAssemblyModuleOptions? = definedExternally): Any(source)

Posts a message to a web worker with configuration to initialize loading and compiling a web assembly module asynchronously, as well as an optional fallback JavaScript module to use if Web Assembly is not supported.

Return

A promise that resolves to the result when the web worker has loaded and compiled the web assembly module and is ready to process tasks.

See also