• 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
..
components Loading commit data...
config Loading commit data...
helpers Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-context.js Loading commit data...
websocket.js Loading commit data...