abort static method

AbortSignal abort([
  1. Object? reason
])

Implementation

static AbortSignal abort([Object? reason]) {
  if (reason == null) return AbortSignal._(interop.AbortSignal.abort());
  return AbortSignal._(interop.AbortSignal.abort(jsify(reason)));
}