lib/reset-event.js
function (isSignaled, options) {
    this.queue = [];
    this.isSignaled = Boolean(isSignaled);
    this.options = _.extend({}, ResetEvent.defaultOptions, options);
}
function (isSignaled, options) {
    this.queue = [];
    this.isSignaled = Boolean(isSignaled);
    this.options = _.extend({}, ResetEvent.defaultOptions, options);
}
function ( isSignaled , options ) { this . queue = [ ] ; this . isSignaled = Boolean ( isSignaled ) ; this . options = _ . extend ( { } , ResetEvent . defaultOptions , options ) ; }
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
A Reset Event .