Edit on Github
Updated 08 Mar 2021

← Back To API Reference

.done

.done(
 [function(any value) fulfilledHandler],
 [function(any error) rejectedHandler]
) -> undefined

Like .then, but any unhandled rejection that ends up here will crash the process (in node) or be thrown as an error (in browsers). The use of this method is heavily discouraged and it only exists for historical reasons.


Please enable JavaScript to view the comments powered by Disqus.

AltStyle によって変換されたページ (->オリジナル) /