The callback for websocket events
The main websocket connection to Aspera Browser
Global promise object that resolves when init completes
Indicator if the websocket is already connected
A map of requested subscription names and the callback for them
This function handles completed subscription
This function handles errors received from the websocket
This function handles messages received from the websocket
Log call for not being ready
This function handles when a connection is opened
This function starts the websocket subscription with the websocket provider
a promise that resolves when the websocket connection is established
This function joins the channel to be able to subscribe to events
the callback function to call with the event name.
This function registers clients to listen to a certain message name. Returns any to allow functions to declare proper type
the name of messages to listen to (one message name per subscription)
the callback function
The app ID of transfers we want to receive notifications for