Promise
Also written: promises
A JavaScript object that stands for the eventual result of work that takes time, such as downloading data. It lets code say what to do once the work succeeds or fails.
Also written: promises
A JavaScript object that stands for the eventual result of work that takes time, such as downloading data. It lets code say what to do once the work succeeds or fails.