Difference between Promise, Promise/A and Promise/A+
Asked Answered
D

1

8

I've read the Promise/A+ specification, but as far as I understand there are also such things as Promise/A and Promise. What is the difference between all of them? Are Promise and Promise/A specifications as well? If so, what's the difference? Sorry if the question is silly as I'm primary backend developer.

Thanks in advance!

Dealer answered 30/9, 2017 at 20:26 Comment(0)
D
6

Is Promise a specification as well?

No. That's just a term with a context-dependent meaning. See for example What are the differences between Deferred, Promise and Future in JavaScript? or the Wikipedia entry on the topic for possible definitions.

Is Promise/A a specification as well?

Yes: http://wiki.commonjs.org/wiki/Promises/A

Why is it named A? Because there were other approaches as well.

I've read the Promise/A+ specification. What is the difference between them?

You must have missed https://promisesaplus.com/differences-from-promises-a.

Discriminative answered 30/9, 2017 at 20:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.