lib/Timeout.js
function _runIfLocked() {
    var self = this;

    self._clusterUtils._setLock(self.lockKey, function(err, lock) {
        if (err) {
            throw err;
        } else if (!lock) {
            return;
        }

        process.nextTick(self._func);
    });
}
function _runIfLocked() {
    var self = this;

    self._clusterUtils._setLock(self.lockKey, function(err, lock) {
        if (err) {
            throw err;
        } else if (!lock) {
            return;
        }

        process.nextTick(self._func);
    });
}
function _runIfLocked ( ) { var self = this ; self . _clusterUtils . _setLock ( self . lockKey , function ( err , lock ) { if ( err ) { throw err ; } else if ( ! lock ) { return ; } process . nextTick ( self . _func ) ; } ) ; }
Attempts to run the function provided if a lock can be achieved on the lock key.
Attempts to run the function provided if a lock can be achieved on the lock key .