cloudflare / speedtest

Component to perform network speed tests against Cloudflare's edge network
https://speed.cloudflare.com
MIT License
459 stars 34 forks source link

Fix #22. Improve error handling #27

Closed vasturiano closed 1 year ago

vasturiano commented 1 year ago

This PR exposes a new onError method that can be used for handling connection and other types of errors.

In addition, it also fixes a bug reported in #22 of an unreferenced stop method: .stop is not a function.

Also bumps dev dependencies to latest.

github-actions[bot] commented 1 year ago

Please set a semver versioning label of either major, minor, or patch on this pull request.