Pergunta de entrevista da empresa Thomson Reuters

What is the difference between a Deferred and a Promise?

Resposta da entrevista

Sigiloso

18 de fev. 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