abort

fun abort(reason: JsError? = definedExternally): AbortSignal(source)

MDN Reference