Optional
init0
Optional
numset or get number of thread(s). If omitted or set to 0, number of thread(s) will be determined by system. If set to 1, no worker thread will be spawned.
This setting is available only when WebAssembly multithread feature is available in current context.
0
Optional
proxySet or get a boolean value indicating whether to proxy the execution of main thread to a worker thread.
false
Optional
simdset or get a boolean value indicating whether to enable SIMD. If set to false, SIMD will be forcely disabled.
This setting is available only when WebAssembly SIMD feature is available in current context.
This property is deprecated. Since SIMD is supported by all major JavaScript engines, non-SIMD build is no longer provided. This property will be removed in future release.
true
Optional
traceset or get a boolean value indicating whether to enable trace.
Use env.trace
instead. If env.trace
is set, this property will be ignored.
false
Optional
wasmSet a custom URL prefix to the .wasm/.mjs files, or an object of overrides for both .wasm/.mjs file. The override path should be an absolute path.
Generated using TypeDoc
Set or get a number specifying the timeout for initialization of WebAssembly backend, in milliseconds. A zero value indicates no timeout is set.