code: function (isSignaled, options) {
      this.queue = [];
      this.isSignaled = Boolean(isSignaled);
      this.options = _.extend({}, ResetEvent.defaultOptions, options);
  }
docs: A Reset Event.
  @constructor
  @param {boolean} isSignaled - if true then the reset event starts signaled (all calls to wait will pass through)
  @param {object} options - optional set of options for this reset event