This commit is contained in:
Piotr Jamróz
2024-11-19 13:10:43 +01:00
parent f62fcfffd8
commit ef477910a4
+1 -1
View File
@@ -1,4 +1,4 @@
// Almost identical to CorsWorker.ts. Main difference being it creates a SharedWorker in runtime (if it's supported bythe browser
// Almost identical to CorsWorker.ts. Main difference being it creates a SharedWorker in runtime if browser supports it
export function sharedWorkersSupported() {
return typeof window.SharedWorker !== 'undefined';