mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
0d43a63636
Fixes #22840 Fixes #22964
8 lines
155 B
JavaScript
8 lines
155 B
JavaScript
export async function myFunction() {
|
|
await new Promise((resolve) =>
|
|
setTimeout(() => {
|
|
postMessage("hallo");
|
|
resolve;
|
|
}, 100)
|
|
);
|
|
}
|