Skip to content

Instantly share code, notes, and snippets.



Created Mar 29, 2018
What would you like to do?
export const delay = (time: number) => {
return new Promise((resolve, reject) => {
setTimeout(resolve, time);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.