code: function _gpfHandleTimeout() {
          var timeoutItem, now;
          while (_gpfTimeoutQueue.length) {
              timeoutItem = _gpfTimeoutQueue.shift();
              now = new Date().getTime();
              while (timeoutItem.dt > now) {
                  _gpfSleep(timeoutItem.dt - now);
                  now = new Date().getTime();
              }
              timeoutItem.cb();
          }
      }
docs: For WSCRIPT, RHINO and NASHORN environments, this function must be used to process the timeout queue when using
  [setTimeout](https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout).
  For the other environments, this function has no effect.
  @since 0.1.5