signal property

AbortSignal? get signal

An abort signal to allow cancellation of the DNS resolution operation. If the signal becomes aborted the resolveDns operation will be stopped and the promise returned will be rejected with an AbortError.

Implementation

_i5.AbortSignal? get signal => _i3.getProperty(
      this,
      'signal',
    );
set signal (AbortSignal? value)

Implementation

set signal(_i5.AbortSignal? value) {
  _i3.setProperty(
    this,
    'signal',
    value ?? _i6.undefined,
  );
}