requestCompileWasmAs abstract method

Future<WasmModuleResult?> requestCompileWasmAs({
  1. WasmSimd simd = WasmSimd.on,
  2. bool forExport = false,
  3. bool debugProbes = true,
  4. bool fuel = false,
})

Bakes every AnimaScript source into one wasm module against the std tree from setRascStdDir; protocol classes register under their workspace script id, with the file's simd so previews match exports. A preview carries line probes, fuel, its shaders and an AOT artifact. forExport ships the module alone, with debugProbes deciding its probes and throw messages and fuel metering it so browsers can bound it.

Implementation

Future<WasmModuleResult?> requestCompileWasmAs({
  WasmSimd simd = WasmSimd.on,
  bool forExport = false,
  bool debugProbes = true,
  bool fuel = false,
});