• Robert Knight's avatar
    Modernize WebSocket wrapper · dc169f99
    Robert Knight authored
    Modernize our auto-reconnecting wrapper for `WebSocket` to match current
    conventions in the client and improve the documentation.
    
     - Use named rather than default exports
     - Convert functions to arrow functions and remove unneeded `self`
       alias.
     - Add JSDoc comments and types
    
    A circular reference between the `connect` and `onAbnormalClose`
    functions was broken by adding a second argument to `onAbnormalClose`.
    dc169f99
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...