DeekWebExecutionOptions constructor

DeekWebExecutionOptions({
  1. Duration? timeout,
  2. DeekWebCancellationToken? cancellationToken,
  3. bool captureParserExceptions = false,
})

Implementation

DeekWebExecutionOptions(
    {this.timeout,
    this.cancellationToken,
    this.captureParserExceptions = false}) {
  if (timeout != null && timeout! <= Duration.zero) {
    throw ArgumentError.value(timeout, 'timeout', 'Must be positive');
  }
}