wiki/server/core/db.js
/**
   * Unsubscribe from database LISTEN / NOTIFY
   */
Unsubscribe from database LISTEN / NOTIFY
Unsubscribe from database LISTEN / NOTIFY
async unsubscribeToNotifications () {
    if (this.listener) {
      WIKI.events.outbound.offAny(this.notifyViaDB)
      WIKI.events.inbound.removeAllListeners()
      this.listener.close()
    }
  }
async unsubscribeToNotifications ( ) { if ( this . listener ) { WIKI . events . outbound . offAny ( this . notifyViaDB ) WIKI . events . inbound . removeAllListeners ( ) this . listener . close ( ) } }
Unsubscribe from database LISTEN / NOTIFY
Unsubscribe from database LISTEN / NOTIFY