www/category-category-module-es5.js
/**
     * Returns a Promise that will be rejected after the given duration.
     * The error will be of type HttpsErrorImpl.
     *
     * @param millis Number of milliseconds to wait before rejecting.
     */
Returns a Promise that will be rejected after the given duration.
The error will be of type HttpsErrorImpl.

@param millis Number of milliseconds to wait before rejecting.
Returns a Promise that will be rejected after the given duration . The error will be of type HttpsErrorImpl . @param millis Number of milliseconds to wait before rejecting .
function failAfter(millis) {
      return new Promise(function (_, reject) {
        setTimeout(function () {
          reject(new HttpsErrorImpl('deadline-exceeded', 'deadline-exceeded'));
        }, millis);
      });
    }
function failAfter ( millis ) { return new Promise ( function ( _ , reject ) { setTimeout ( function ( ) { reject ( new HttpsErrorImpl ( 'deadline-exceeded' , 'deadline-exceeded' ) ) ; } , millis ) ; } ) ; }
Returns a Promise that will be rejected after the given duration.
Returns a Promise that will be rejected after the given duration .