Closed jangruenwaldt closed 5 months ago
https://github.com/Imgkl/EventFlux/pull/16 made a PR for this
Hey @jangruenwaldt,
Thanks for the contribution, it is merged to main
and a new version of the EventFlux is out now.
@Imgkl Fantastic, thx so much for the new release 🎉
You can test this by adding an invalid target URL.
In the current version, onSuccessCallback will be called, but immediately afterward the error handler is called.
Ideally, onSuccessCallback is only called if the connection is actually established. This would help me to reset e.g. the expontential back off attempt counter after the connection is established.