Tagged “promises”
-
TIL not using try/catch block with promises for error catching promises javascript advanced errorcatching
You shouldn't use a try/catch block inside the Promise Definition. Your promise is already doing that.
-
TIL AggregateError promises javascript mdn
I heard the term AggregateError in relations to 'Promise.Any', So it's several errors wrapped in a array. That's all.
-
TIL how to convert a Callback to a Promise callback promises advanced
Callback functions work well for simple asynchronous operations, but can become difficult to manage and lead to 'callback hell' when dealing with more complex operations. Promises follow a specific pattern.
-
TIL Avoiding promise chains javascript promises
Callbacks are functions that are executed when another function finishes. It can lead to callback hell, which instead, use a promise! But don't make promise chains
See all tags.