cancel

open suspend fun cancel(reason: JsError? = definedExternally)(source)

MDN Reference