Question d’entretien chez Thomson Reuters

What is the difference between a Deferred and a Promise?

Réponse à la question d'entretien

Utilisateur anonyme

18 févr. 2015

The Deferred is "private", and actually wraps the asynchronous call. The Promise is the "public" view of the state of the Deferred.

1