src/App.js
/**
   * Triggered when websocket connection
   * starts
   * @param {Object} event 
   */
Triggered when websocket connection
starts
@param {Object} event
Triggered when websocket connection starts @param { Object } event
connectionOpened(event) {
    console.log("Connection opened");
    this.requestUpdate()
    this.connectionIntervalRequest = setInterval(() => { this.requestUpdate() }, 60000);
    this.setState({ intervalId: this.connectionIntervalRequest })
  }
connectionOpened ( event ) { console . log ( "Connection opened" ) ; this . requestUpdate ( ) this . connectionIntervalRequest = setInterval ( ( ) => { this . requestUpdate ( ) } , 60000 ) ; this . setState ( { intervalId : this . connectionIntervalRequest } ) }
Triggered when websocket connection
 starts
 @param {Object} event
Triggered when websocket connection starts @param { Object } event