Domanda di colloquio di Thomson Reuters

What is the difference between a Deferred and a Promise?

Risposta di colloquio

Anonimo

18 feb 2015

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

1