Skip to content

v0.1.10

Choose a tag to compare

@joshmossas joshmossas released this 05 Jun 19:23
· 23 commits to master since this release

What's Changed

  • docs: add more detailed docs concerning supported runtimes by @joshmossas in #23
  • feature: add reconnect() and onAbort() 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