Optional
options: {Optional
equalityFn?: (Optional
fireImmediately?: falseOptional
overrides?: Partial<EmscriptenModule>The 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.
Optional
equalityFn?: (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.
Optional
overrides?: Partial<EmscriptenModule>The 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.
Optional
options: PrepareZXingModuleOptions
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.