lib/async-lock.js
function (options) {
    this.queue = [];
    this.ownerTokenId = null;
    this.options = _.extend({}, AsyncLock.defaultOptions, options);
}
function (options) {
    this.queue = [];
    this.ownerTokenId = null;
    this.options = _.extend({}, AsyncLock.defaultOptions, options);
}
function ( options ) { this . queue = [ ] ; this . ownerTokenId = null ; this . options = _ . extend ( { } , AsyncLock . defaultOptions , options ) ; }
An asynchronous lock.
@constructor
@param {object} options - optional set of options for this lock
An asynchronous lock .