regis-loop

This commit is contained in:
adrapier03
2026-07-01 21:11:58 +07:00
parent 0ea4265045
commit 1fb6c82319
306 changed files with 419709 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
const { MessageChannel } = require('worker_threads')
if (!globalThis.DOMException) {
const port = new MessageChannel().port1
const ab = new ArrayBuffer()
try { port.postMessage(ab, [ab, ab]) }
catch (err) { globalThis.DOMException = err.constructor }
}