signal property

AbortSignal? get signal

An abort signal to allow cancellation of the file write operation.

If the signal becomes aborted the write file operation will be stopped and the promise returned will be rejected with an {@linkcode 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,
  );
}