method AbortController.abortAbortController.abort(reason?: any): voidDeprecatedInvoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. Parametersoptionalreason: anyReturn Typevoid