WasmAssetData: {
    fallbackScriptId?: number;
    glueScriptId?: number;
    moduleName: string;
}

Represents the data for a Wasm asset.

Type declaration

  • OptionalfallbackScriptId?: number

    The asset id of the fallback script asset to be used if wasm modules are not supported.

  • OptionalglueScriptId?: number

    The asset id of the script asset with the JavaScript glue code that implements the JavaScript interface to the wasm functions.

  • moduleName: string

    The name of the module library defined in the wasm module.