mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Refactor + add message box.
This commit is contained in:
3
src/lib/defer.ts
Normal file
3
src/lib/defer.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function defer(cb: () => void) {
|
||||
setTimeout(cb, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user