@scandit/web-datacapture-core
Version:
Scandit Data Capture SDK for the Web
2 lines • 719 B
JavaScript
import {b}from'../../chunks/chunk-VBUDN72N.js';import {a as a$1}from'../../chunks/chunk-XR65N6EG.js';async function a(){let[{missingFeatures:t},i]=await Promise.all([b.checkBrowserCompatibility(),b.checkMultithreadingSupport()]);i||(a$1.warn("Multithreading is not supported."),t.includes("crossOriginIsolated")&&a$1.warn("Headers for Multithreading are absent or misconfigured: please check how to configure them properly: https://docs.scandit.com/sdks/web/matrixscan/get-started#enable-browser-multithreading"),t.includes("sharedArrayBuffer")&&a$1.warn("SharedArrayBuffer not supported. Check the requirements here: https://docs.scandit.com/system-requirements#web-sdk"));}
export{a as warnMultithreadingUnavailable};