chore: merge branch 'ui/glass-header'

This commit is contained in:
Paul Makles
2022-01-02 23:48:19 +00:00
45 changed files with 863 additions and 396 deletions

View File

@@ -1 +1,11 @@
/**
* Schedule a task at the end of the Event Loop
* @param cb Callback
*/
export const defer = (cb: () => void) => setTimeout(cb, 0);
/**
* Schedule a task at the end of the second Event Loop
* @param cb Callback
*/
export const chainedDefer = (cb: () => void) => defer(() => defer(cb));