connectionWillClose() {
    this.connectionListeners
      .filter(({ enabled }) => enabled)
      .forEach(({ listener }) => {
        listener.onConnectionWillClose()
      })
  }
/**
   * Notify listeners when connection will close
   */
Notify listeners when connection will close
Notify listeners when connection will close
connectionWillClose() {
    this.connectionListeners
      .filter(({ enabled }) => enabled)
      .forEach(({ listener }) => {
        listener.onConnectionWillClose()
      })
  }
connectionWillClose ( ) { this . connectionListeners . filter ( ( { enabled } ) => enabled ) . forEach ( ( { listener } ) => { listener . onConnectionWillClose ( ) } ) }
Notify listeners when connection will close
Notify listeners when connection will close