Watch and track your favorite playlist.
Curated by: Code Sketched (96 videos)
In this video we look into the process to promisify functions so that we do not need to work with callbacks, instead we work with javascript promises. We create a promisify function as a wrapper and then pass the original function to it and get a promisified function in return. This promisified function returns us a promise with which we can do the usual stull like .then() or async await. Timestamps: 00:00:26 - Callbacks 00:01:42 - Promisifying 00:03:27 - Testing 00:04:16 - Async await Check out our other popular videos: 1. Learn about public-key cryptography https://www.youtube.com/watch?v=64DL9BNVwkU& 2. maximum substring in a string (Google interview question) https://www.youtube.com/watch?v=IHsX70r-fIQ 3. How the javascript engine works? https://www.youtube.com/watch?v=KM9coMpy5sQ 4. Real time median in a stream, another google interview question https://www.youtube.com/watch?v=1CxyVdA_654 5. Understand the Javascript event loop https://www.youtube.com/watch?v=XzXIMZMN9k4 6. Understand Promises in javascript https://www.youtube.com/watch?v=gV7SaMIFyg8 7. Git basics you must know https://www.youtube.com/watch?v=HDRXwokgWpo My Socials: Twitter: https://twitter.com/Kokaneka Linkedin: https://www.linkedin.com/in/kapeel-kokane-30b81973/ Facebook: https://www.facebook.com/Comscience-Simplified-277613949649919 Website: http://comscience.now.sh/ Blog: https://dev.to/comscience Music By: "After The Fall" Track Name: "Pieces (Extended Version)" Released by Chill Out Records: https://goo.gl/fh3rEJ • ATF LinkTree - https://linktr.ee/AftertheFall • DOWNLOAD @ https://www.chilloutmedia.com/atf License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) - Full license here: https://creativecommons.org/licenses/... • (C) Copyright Notice: This is FREE (Royalty Free Music) that has been publicly released by Chill Out Records - No Copyright Music (Chill Out Records LLC) for use by content creators within their own YouTube and TikTok Musical.ly videos. Licence: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) #javascript #function #promisified