Wait -> Delay

This commit is contained in:
erik-sn committed 2020-10-14 11:09:22 -04:00
1 parent 2e278e2a40
commit bc873e5a14
2 files changed
+30 -27

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
// https://forum.cfx.re/t/typescript-vs-lua-questions/612483/11
export const Delay = (ms: number) => new Promise(res => setTimeout(res, ms));