Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

async await

async function showAvatar() {
	// read
  	await setTimeout(resolve, 3000);
    // read next 3s
}

showAvatar();
Source by www.theodinproject.com #
 
PREVIOUS NEXT
Tagged: #async #await
ADD COMMENT
Topic
Name
5+2 =