update() {
    if (!this.viewingEnd) return m.deferred().resolve().promise;

    this.visibleEnd = this.count();

    return this.loadRange(this.visibleStart, this.visibleEnd).then(() => m.redraw());
  }
/**
   * Update the stream so that it loads and includes the latest posts in the
   * discussion, if the end is being viewed.
   *
   * @public
   */
Update the stream so that it loads and includes the latest posts in the
discussion, if the end is being viewed.

@public
Update the stream so that it loads and includes the latest posts in the discussion if the end is being viewed . @public
update() {
    if (!this.viewingEnd) return m.deferred().resolve().promise;
    this.visibleEnd = this.count();
    return this.loadRange(this.visibleStart, this.visibleEnd).then(() => m.redraw());
  }
update ( ) { if ( ! this . viewingEnd ) return m . deferred ( ) . resolve ( ) . promise ; this . visibleEnd = this . count ( ) ; return this . loadRange ( this . visibleStart , this . visibleEnd ) . then ( ( ) => m . redraw ( ) ) ; }
Update the stream so that it loads and includes the latest posts in the
 discussion, if the end is being viewed.
Update the stream so that it loads and includes the latest posts in the discussion if the end is being viewed .