DeekWebExecutionOptions constructor
DeekWebExecutionOptions({
- Duration? timeout,
- DeekWebCancellationToken? cancellationToken,
- 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');
}
}