Pregunta de entrevista de Thomson Reuters

What is the difference between a Deferred and a Promise?

Respuesta de la entrevista

Anónimo

18 de feb de 2015

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

1