属性
promise
可选reason
方法
subscribe
-
subscribe(listener: (cancel: any) => void): void
参数
- listener: (cancel: any) => void
返回 void
throwIfRequested
-
返回 void
toAbortSignal
-
toAbortSignal(): AbortSignal
返回 AbortSignal
unsubscribe
-
unsubscribe(listener: (cancel: any) => void): void
参数
- listener: (cancel: any) => void
返回 void