2 ms·
I'm not sure if they were first and they were API incompatible with modern JS promises, but jQuery had deferred objects in 2011, 2 years before the first Bluebi
by nicoburns 6y ago
I'm not sure if they were first and they were API incompatible with modern JS promises, but jQuery had deferred objects in 2011, 2 years before the first Bluebird commit on Github.
Bluebird wasn't the first JS Promise library. It became the defacto library because it was faster than everything else.
Edit: https://en.wikipedia.org/wiki/Futures_and_promises https://en.wikipedia.org/wiki/Futures_and_promises has a history
- ragnese 6y agoNice. I am certainly not up on my JavaScript history. Bluebird was the first I used and it was still gaining popularity at the time. I do know that promises existed a LONG time ago, I was just referencing languages that still are popular-ish. I thought the Scala implementation was pretty old, but it looks like Java actually has everyone beat.