mirror of
https://github.com/denoland/deno.git
synced 2025-01-22 06:09:25 -05:00
chore: remove test files (#11331)
This commit is contained in:
parent
5e5095bbe3
commit
ce587a15da
2 changed files with 0 additions and 19 deletions
14
main.js
14
main.js
|
@ -1,14 +0,0 @@
|
||||||
const worker = new Worker(new URL("./worker.js", import.meta.url), {
|
|
||||||
type: "module",
|
|
||||||
});
|
|
||||||
|
|
||||||
const sab = new SharedArrayBuffer(1);
|
|
||||||
console.log(new Uint8Array(sab));
|
|
||||||
|
|
||||||
setInterval(() => {
|
|
||||||
console.log(new Uint8Array(sab));
|
|
||||||
}, 100);
|
|
||||||
|
|
||||||
worker.onmessage = () => {
|
|
||||||
worker.postMessage(sab);
|
|
||||||
};
|
|
|
@ -1,5 +0,0 @@
|
||||||
self.postMessage("ready");
|
|
||||||
|
|
||||||
globalThis.addEventListener("message", (e) => {
|
|
||||||
new Uint8Array(e.data)[0] = 1;
|
|
||||||
});
|
|
Loading…
Add table
Reference in a new issue