abort method

void abort([
  1. JSAny? reason
])

The abort() method of the AbortController interface aborts an asynchronous operation before it has completed. This is able to abort fetch requests, the consumption of any response bodies, or streams.

Implementation

external void abort([JSAny? reason]);