docs: function ThaliSendNotificationBasedOnReplication(router,
                                                   ecdhForLocalDevice,
                                                   millisecondsUntilExpiration,
                                                   pouchDB) {
    this._router = router;
    this._millisecondsUntilExpiration = millisecondsUntilExpiration;
    assert(millisecondsUntilExpiration > 0, 'millisecondsUntilExpiration MUST ' +
      'be greater than 0');
    this._pouchDB = pouchDB;
    this._promiseQueue = new PromiseQueue();
    this._thaliNotificationServer =
      new ThaliNotificationServer(router, ecdhForLocalDevice,
                                  millisecondsUntilExpiration);
  
    this._resolveStart = null;
    this._rejectStart = null;
    this._completed = false;
  }