Comments (4)
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
from webstomp-client.
I think Observable
s 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).
from webstomp-client.
PR are welcomed @DzmitryShylovich ;)
from webstomp-client.
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...
from webstomp-client.
Related Issues (20)
- Outdated npm package HOT 2
- Whoops! Lost connection HOT 1
- React native: Cannot connect by android HOT 6
- headerLines.reverse() error in stomp.js HOT 1
- Multiple subscribes HOT 1
- WebSocket is not defined when running using node.js HOT 1
- Mismatch Between Sec-WebSocket-Protocol & accept-version HOT 3
- Disconnect and reconnect issue HOT 3
- WebSocket is not defined when running using electron HOT 1
- webstomp.over is not a function anymore? HOT 15
- Version 1.2.4 not working anymore on browsers HOT 24
- Deprecation Warning HOT 24
- Escaping backslashes in headers HOT 3
- client.unsubscribe and resubscribe causes duplicate messages HOT 3
- Not able to successfully run example
- connect with error callback
- Ping / Pong callback
- Not able to auto reconnect
- Stomp.js differences? HOT 1
- Bug in utils.js createId(), may create duplicate subscription id's
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webstomp-client.