abortSignal.onabort
-
类型:<Function>
¥Type: <Function>
可选的回调函数,可以由用户代码设置,以便当调用 abortController.abort()
函数时得到通知。
¥An optional callback function that may be set by user code to be notified
when the abortController.abort()
function has been called.