Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Async/Await

async function run () {
  const user = await getUser()
  const tweets = await getTweets(user)
  return [user, tweets]
}
 
 
Source by devhints.io #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+7 =