loadArchives({ offset, pageSize }) {
    this.stopRetrievalDelayUpdate();
    this.archives = this.CucControllerHelper.request.getArrayLoader({
      loaderFunction: () => this.LogsStreamsArchivesService.getArchives(
        this.serviceName,
        this.streamId,
        this.archiveIds.data.slice(offset - 1, offset + pageSize - 1),
      ),
    });
    return this.archives.load()
      .then(archives => ({
        data: archives,
        meta: {
          totalCount: this.archiveIds.data.length,
        },
      }))
      .then(this.startRetrievalDelayUpdate())
      .then((archivesData) => {
        archivesData.data.forEach(archive => this.updateUnfreezingNotification(archive));
        return archivesData;
      });
  }
/**
   * Loads a number of archives specified by the pageSize, starting from the specified offset
   * Also issues a notification for archives being unsealed
   *
   * @param {any} offset
   * @param {any} pageSize
   * @returns promise which will be resolve to the loaded archives data
   * @memberof LogsStreamsArchivesHomeCtrl
   */
Loads a number of archives specified by the pageSize, starting from the specified offset
Also issues a notification for archives being unsealed

@param {any} offset
@param {any} pageSize
@returns promise which will be resolve to the loaded archives data
@memberof LogsStreamsArchivesHomeCtrl
Loads a number of archives specified by the pageSize starting from the specified offset Also issues a notification for archives being unsealed @param { any } offset @param { any } pageSize @returns promise which will be resolve to the loaded archives data @memberof LogsStreamsArchivesHomeCtrl
loadArchives({ offset, pageSize }) {
    this.stopRetrievalDelayUpdate();
    this.archives = this.CucControllerHelper.request.getArrayLoader({
      loaderFunction: () => this.LogsStreamsArchivesService.getArchives(
        this.serviceName,
        this.streamId,
        this.archiveIds.data.slice(offset - 1, offset + pageSize - 1),
      ),
    });
    return this.archives.load()
      .then(archives => ({
        data: archives,
        meta: {
          totalCount: this.archiveIds.data.length,
        },
      }))
      .then(this.startRetrievalDelayUpdate())
      .then((archivesData) => {
        archivesData.data.forEach(archive => this.updateUnfreezingNotification(archive));
        return archivesData;
      });
  }
loadArchives ( { offset , pageSize } ) { this . stopRetrievalDelayUpdate ( ) ; this . archives = this . CucControllerHelper . request . getArrayLoader ( { loaderFunction : ( ) => this . LogsStreamsArchivesService . getArchives ( this . serviceName , this . streamId , this . archiveIds . data . slice ( offset - 1 , offset + pageSize - 1 ) , ) , } ) ; return this . archives . load ( ) . then ( archives => ( { data : archives , meta : { totalCount : this . archiveIds . data . length , } , } ) ) . then ( this . startRetrievalDelayUpdate ( ) ) . then ( ( archivesData ) => { archivesData . data . forEach ( archive => this . updateUnfreezingNotification ( archive ) ) ; return archivesData ; } ) ; }
Loads a number of archives specified by the pageSize, starting from the specified offset
 Also issues a notification for archives being unsealed
Loads a number of archives specified by the pageSize starting from the specified offset Also issues a notification for archives being unsealed