lib/compose.js
function nextTick (next, err) {
  return process.nextTick(function () {
    try {
      next(err)
    } catch (e) {
      // istanbul ignore next
      next(e)
    }
  })
}
function nextTick (next, err) {
  return process.nextTick(function () {
    try {
      next(err)
    } catch (e) {
      // istanbul ignore next
      next(e)
    }
  })
}
function nextTick ( next , err ) { return process . nextTick ( function ( ) { try { next ( err ) } catch ( e ) { // istanbul ignore next next ( e ) } } ) }
Safety wrapper around nextTick
@api private
@param {Function} next - next function on the stack
@param {Object} [err] - error value from previous middleware
Safety wrapper around nextTick