Comments (2)
At present there is no way to determine from the disconnected event, or indeed anywhere else, whether the library is still trying to automatically reconnect. The only way to determine that would be to track the failed attempts. This does indeed seem like a bug/limitation of the library and I'll have a think about how to fix it,
from rhea.
Sorry for the delay. I've made an update that now sets a 'reconnecting' property on the context passed to the disconnected event that is true if the library has scheduled a reconnect attempt and false if it has reached a configured limit.
from rhea.
Related Issues (20)
- Files in dist folder have not been updated for two years HOT 3
- Connection configuration URI support? HOT 2
- Unable to send more than 10 messages to different queue at same time. HOT 5
- Rename the default git branch to `main`
- Error Event for submitting duplicate message? HOT 1
- Lack of timeout/retry + lost disposition = disaster HOT 1
- Nacking? HOT 1
- TypeError: Unrecognised typecode: 5 HOT 3
- Should I close sender for different destinations? HOT 2
- Is it possible to send a persistent message? HOT 1
- Some common questions HOT 1
- 2.0.7 contains breaking changes HOT 2
- React application based on `create-react-app` cannot include rhea HOT 8
- Receive Error Connection - Invalid handle
- Poor performance receiving large message HOT 7
- Any default values for connection hostname? HOT 4
- How to implement TCP keep-alive in the client applicaiton HOT 19
- Is it possible to accept null or undefined message body HOT 5
- Regression in PR #382: Handle transfer with no payload HOT 1
- Receiver (Consumer) does not receive message that are larger than ~4.15kb HOT 3
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 rhea.