Davin Kevin

Results 181 comments of Davin Kevin

I don't really understand the element you describe. Could you describe with a step by step and/or example ? There is a [Spring project](https://github.com/davinkevin/spring-websocket-backend) with simple element. If I shutdown...

I don't know if the problem is located at the AngularStompDK level, inside StompJS or outside of the JS scope. Do you have an system between your web client and...

Or maybe, linked to #33, switch code to TypeScript ?

Or simply moving to NPM only for a full JS lib (no css, no html... no need of a web-bundler I think)

@baczus I think, maybe, changing the reference of the promise during the `connection` error fallback could help you, you'll always a promise initialized, but the resolve / reject happen only...

By using the then function ? Like this : ``` js ngStomp.getConnectionState() .then(callbackCalledIfConnected) .catch(callbackCalledIfNotConnected) ``` This way, instead of using a boolean, which reflect the $$state of the angular $q...

@baczus : Could you try to see if this modification feet your need. I've updated the master but not yet released it, I'm waiting to see if it's all ok...

> 1. What about function which returns connection state (promise)? The promise is accessible with `ngStomp.connectionState`. It's not a function, just a reference to the promise itself. > 1. Does...

I've published the 0.9.3, with this improvement, but I still think there is a better solution for this... One promise is used for the connection, resolved in the success callback...

I'm really interested about this too. To describe my need, I'm using hyperfine for performance testing on some endpoint of application, during development. My underlying stack is fully reactive, but...