connectionEstablished() {
    this.connectionListeners
      .filter(({ enabled }) => enabled)
      .forEach(({ listener }) => {
        listener.onConnectionEstablished()
      })
  }
/**
   * Notify listeners when connection is established
   */
Notify listeners when connection is established
Notify listeners when connection is established
connectionEstablished() {
    this.connectionListeners
      .filter(({ enabled }) => enabled)
      .forEach(({ listener }) => {
        listener.onConnectionEstablished()
      })
  }
connectionEstablished ( ) { this . connectionListeners . filter ( ( { enabled } ) => enabled ) . forEach ( ( { listener } ) => { listener . onConnectionEstablished ( ) } ) }
Notify listeners when connection is established
Notify listeners when connection is established