rooms() {
    if (!this.current) {
      return Promise.reject(new Error('Only an authenticated user can list Rooms.'));
    }
    return DataSync.list('rooms', Room)
      .catch(Log.r('Reach~rooms'));
  }
/**
   * Get the list of rooms
   * @ignore If your users base is pretty large, this method is impossible.
   * @return {Promise<Room[], Error>}
   */
Get the list of rooms
@ignore If your users base is pretty large, this method is impossible.
@return {Promise}
Get the list of rooms @ignore If your users base is pretty large this method is impossible . @return { Promise }
rooms() {
    if (!this.current) {
      return Promise.reject(new Error('Only an authenticated user can list Rooms.'));
    }
    return DataSync.list('rooms', Room)
      .catch(Log.r('Reach~rooms'));
  }
rooms ( ) { if ( ! this . current ) { return Promise . reject ( new Error ( 'Only an authenticated user can list Rooms.' ) ) ; } return DataSync . list ( 'rooms' , Room ) . catch ( Log . r ( 'Reach~rooms' ) ) ; }
Get the list of rooms
 @ignore If your users base is pretty large, this method is impossible.
Get the list of rooms @ignore If your users base is pretty large this method is impossible .