You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
Since this library is mostly a rewrite of the old one, I think it makes sense to use ES6 and promises instead of callbacks.
This does not restrict its use on browsers due to browserify and promises polyfill. An example of library using es6 promise polyfill is https://github.com/matthew-andrews/isomorphic-fetch
The text was updated successfully, but these errors were encountered:
Agreed it is on my todo list. PRs are welcome if you wanna try.
Le 2 avr. 2016 08:59, "Alessandro Polverini" [email protected] a
écrit :
Since this library is mostly a rewrite of the old one, I think it makes
sense to use ES6 and promises instead of callbacks.
This does not restrict its use on browsers due to browserify and promises
polyfill. An example of library using es6 promise polyfill is https://github.com/matthew-andrews/isomorphic-fetch
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #1
I think Observables from rxjs is a better choice as they have a lot of advantages over promises.
Observables and type definitions will make this library very attractive to use in conjunction with angular 2 (second version of the most popular front end framework).
I've created a library with observable (strongly inspired from yours, I hope you don't mind about that :))
you can see it on https://github.com/fpozzobon/webstomp-obs
I didn't want to create a PR as the usage of it is a lot different in fact...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since this library is mostly a rewrite of the old one, I think it makes sense to use ES6 and promises instead of callbacks.
This does not restrict its use on browsers due to browserify and promises polyfill. An example of library using es6 promise polyfill is https://github.com/matthew-andrews/isomorphic-fetch
The text was updated successfully, but these errors were encountered: