Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

delay javascript

export const delay = async (): Promise<void> => {
	await new Promise((resolve) => setTimeout(resolve, 100))
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delay #javascript
ADD COMMENT
Topic
Name
5+9 =