v0.1.10
What's Changed
- docs: add more detailed docs concerning supported runtimes by @joshmossas in #23
- feature: add
reconnect()andonAbort()methods to EventSourceController by @joshmossas in #25 - Retry Strategies are no longer considered a "beta" feature. They are now considered "stable".
Reconnect and OnAbort Methods
With this release the EventSourceController returned by listen() now has a reconnect() and onAbort() method.
Reconnect()- This method does exactly what it sounds like. It reconnects to the server. If an existing connection already exists it will close the old one and open a new one.OnAbort()- This method is used to register a listener that will trigger when the connection is aborted.
More details on these changes can be found in the updated docs
Full Changelog: v0.1.8...v0.1.10