How to implement a promise-based API - Learn web development | MDN thumbnail
How to implement a promise-based API - Learn web development | MDN
developer.mozilla.org
How to implement a promise-based API The Promise() constructor Using the alarm() API Using async and await with the alarm() API The setTimeout() API takes as arguments a callback function and a delay, given in milliseconds. When setTimeout() is called, it starts a timer set to the given delay, and w
2 Users
0 Comments
9 Highlights
9 Notes

Top Highlights

  • How to implement a promise-based API
  • The Promise() constructor
  • Using the alarm() API
  • Using async and await with the alarm() API
  • The setTimeout() API takes as arguments a callback function and a delay, given in milliseconds. When setTimeout() is called, it starts a timer set to the given delay, and when the time expires, it calls the given function

Tags

Programming
JavaScript

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.