Skip to content

AbortController

Values

abort

Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. Read more on MDN

let abort: (WebAPI.EventAPI.abortController, ~reason: JSON.t=?) => unit

Parameters

WebAPI.EventAPI.abortController option< JSON.t >

Return type

unit

make

let make: unit => WebAPI.EventAPI.abortController

Parameters

unit

Return type

WebAPI.EventAPI.abortController