mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
bdfad23dd0
This commit adds support for sharing SABs between workers.
5 lines
113 B
JavaScript
5 lines
113 B
JavaScript
self.postMessage("ready");
|
|
|
|
globalThis.addEventListener("message", (e) => {
|
|
new Uint8Array(e.data)[0] = 1;
|
|
});
|