[next] xworker.sync pollution example (#1659)

This commit is contained in:
Andrea Giammarchi
2023-08-31 15:37:17 +02:00
committed by GitHub
parent 4cc9647dc6
commit da3b43abdd
6 changed files with 24 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
export default {
sleep(seconds) {
return new Promise(($) => setTimeout($, seconds * 1000));
},
};