compileWasmModuleSync function

WasmModule compileWasmModuleSync(
  1. Uint8List bytes, {
  2. ModuleConfig? config,
})

Compiles a Wasm module synchronously. You should use compileWasmModule, unless the module is small.

Implementation

WasmModule compileWasmModuleSync(Uint8List bytes, {ModuleConfig? config}) {
  return platform_impl.compileWasmModuleSync(bytes, config: config);
}