Aha, I've seen this but never knew what it was called. Thanks for the link, great read!
Don't know if you know but jQuery has promises/deferreds/futures. You can do neat things with them :)
Should they be used in lieu of es6 promises?
They came before, I think they've inspired them. I'm not sure how compatible they are. Methods like $.get() return such deferreds, but I haven't tried to mix the two :D
$.get()
A cursory glance suggests they aren't really compatible. I'll have to play with it, I've only used the newfangled jazz.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Aha, I've seen this but never knew what it was called. Thanks for the link, great read!
Don't know if you know but jQuery has promises/deferreds/futures. You can do neat things with them :)
Should they be used in lieu of es6 promises?
They came before, I think they've inspired them. I'm not sure how compatible they are. Methods like
$.get()
return such deferreds, but I haven't tried to mix the two :DA cursory glance suggests they aren't really compatible. I'll have to play with it, I've only used the newfangled jazz.