Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript async await not waiting

// You Final Call Needs To Be
MyPromise().then(response => console.log(response));
// or
(async () => console.log(await getResult()))()
 
PREVIOUS NEXT
Tagged: #javascript #async #await #waiting
ADD COMMENT
Topic
Name
7+3 =