CreateAbortablePromiseOptions interface
createAbortablePromise 函式的選項。
- Extends
屬性
| cleanup |
如果已中止承諾,所要呼叫的函式 |
繼承的屬性
| abort |
與包含作業相關聯的中止錯誤訊息。 |
| abort |
與包含作業相關聯的abortSignal。 |
屬性詳細資料
cleanupBeforeAbort
如果已中止承諾,所要呼叫的函式
cleanupBeforeAbort?: () => void
屬性值
() => void