function timeout (options) {
  if (!is.plainObject(options)) {
    throw is.invalidParameterError('options', 'object', options);
  }
  if (is.integer(options.seconds) && is.inRange(options.seconds, 0, 3600)) {
    this.options.timeoutSeconds = options.seconds;
  } else {
    throw is.invalidParameterError('seconds', 'integer between 0 and 3600', options.seconds);
  }
  return this;
}
/**
 * Set a timeout for processing, in seconds.
 * Use a value of zero to continue processing indefinitely, the default behaviour.
 *
 * The clock starts when libvips opens an input image for processing.
 * Time spent waiting for a libuv thread to become available is not included.
 *
 * @since 0.29.2
 *
 * @param {Object} options
 * @param {number} options.seconds - Number of seconds after which processing will be stopped
 * @returns {Sharp}
 */
Set a timeout for processing, in seconds.
Use a value of zero to continue processing indefinitely, the default behaviour.

The clock starts when libvips opens an input image for processing.
Time spent waiting for a libuv thread to become available is not included.



@param {Object} options
@param {number} options.seconds - Number of seconds after which processing will be stopped
@returns {Sharp}
Set a timeout for processing in seconds . Use a value of zero to continue processing indefinitely the default behaviour . The clock starts when libvips opens an input image for processing . Time spent waiting for a libuv thread to become available is not included . @param { Object } options @param { number } options . seconds - Number of seconds after which processing will be stopped @returns { Sharp }
function timeout (options) {
  if (!is.plainObject(options)) {
    throw is.invalidParameterError('options', 'object', options);
  }
  if (is.integer(options.seconds) && is.inRange(options.seconds, 0, 3600)) {
    this.options.timeoutSeconds = options.seconds;
  } else {
    throw is.invalidParameterError('seconds', 'integer between 0 and 3600', options.seconds);
  }
  return this;
}
function timeout ( options ) { if ( ! is . plainObject ( options ) ) { throw is . invalidParameterError ( 'options' , 'object' , options ) ; } if ( is . integer ( options . seconds ) && is . inRange ( options . seconds , 0 , 3600 ) ) { this . options . timeoutSeconds = options . seconds ; } else { throw is . invalidParameterError ( 'seconds' , 'integer between 0 and 3600' , options . seconds ) ; } return this ; }
Set a timeout for processing, in seconds.
Set a timeout for processing in seconds .