Optional
equalityOptional
fireWhether to instantiate the module immediately.
If true
, the module is eagerly instantiated and a promise of the module is returned.
If false
, only the overrides are updated and module instantiation is deferred
to the first read/write operation.
Optional
overridesThe Emscripten module overrides to be passed to the factory function.
The locateFile
function is overridden by default to load the WASM file from the jsDelivr CDN.
A function to compare the cached overrides with the input overrides. So that the module promise can be reused if the overrides are the same. Defaults to a shallow equality function.