But they are not just keywords that magically make something async work with the rest of the program. Async changes how the function work and that can lead to errors without proper understanding.
From this book, you'll build an understanding on how Promises and async/await work and you'll be familiar with the common problems and their solutions.
Book + video course
|What you'll learn||04:30|
|Special case: returning Promises||04:47|
|The Promise constructor||07:35|
|Error handling in async functions||03:45|
|Error handling in the Promise constructor||04:37|
I'm a software developer focusing mostly on cloud computing and web technologies. I'm especially interested in how to handle edge cases to end up with dependable software.
I find asynchronous programming fascinating as when everything works perfectly it feels like magic as various parts of a program are doing their things without interfering with each other. On the other hand, concurrency brings a lot of edge cases that can lead to bugs that are very hard to debug and fix. I enjoy thinking about these "what can go wrong" scenarios and observe a program that works well in many different conditions.
Other books I wrote:
Check the updates page.
Contact me with your requirements and we'll figure something out: firstname.lastname@example.org
Not at this moment
There is an extensive preview where you can check what topics are covered.