Promises allow code to run outside of JavaScript's main thread of execution in a synchronous way.
That's very helpful if you need to wait on an API before doing some action (like displaying the data).
Download
0 formats
No download links available.
JavaScript Promises explained in 3 minutes | NatokHD