Tab Atkins Jr.
jackalmage at gmail.com
Wed Jul 31 12:29:02 PDT 2013
On Wed, Jul 31, 2013 at 11:38 AM, Domenic Denicola
<domenic at domenicdenicola.com> wrote:
> From: Tab Atkins Jr. [jackalmage at gmail.com]
>> For the purposes of this email, a promise "accepting" or "rejecting" means that its resolver's accept() or reject() method was called, or the equivalent internal magic. "fulfill" means "accept or reject". "resolve" means "adopt or accept, depending on whether the value is a promise-like or not" (in other words, what the resolver's resolve() method does). "adopt" means accepting or rejecting with the same value as the adopted promise. If I should be using better terms, let me know.
> Thanks for the clarifications :). I think this is a bit confusing because it is at odds with commonly-used terminology, from DOM Promises and Promises/A+, but at least now things are defined and used in a self-consistent way. Much appreciated.
> For the record, since you asked for better terms, the community consensus is:
> - "Fulfill" and "reject" are the two end states (as opposed to "pending").
> - "Settle" means "fulfill or reject."
> - "Resolve" means "adopt or fulfill."
Ah, I'd never heard the term "settle" before, in any of the threads
across the WGs here. Got it.
More information about the es-discuss