Skip to content

@saehrimnir/druidjs / isWasmThreadsSupported

Function: isWasmThreadsSupported()

ts
function isWasmThreadsSupported(): boolean;

Defined in: wasm/index.js:146

Returns whether SharedArrayBuffer and WASM multi-threading is supported in current environment (Node.js, Bun, Deno, or Web Browser with COOP/COEP headers).

Returns

boolean