(...instances: (AbortInstance | undefined | null)[])
| 62 | } |
| 63 | |
| 64 | child(...instances: (AbortInstance | undefined | null)[]): AbortManager { |
| 65 | const manager = new AbortManager( |
| 66 | ...this.aborts, |
| 67 | ...(instances.filter( |
| 68 | x => x !== undefined && x !== null, |
| 69 | ) as AbortInstance[]), |
| 70 | ); |
| 71 | return manager; |
| 72 | } |
| 73 | |
| 74 | isAborted(): boolean { |
| 75 | return this.aborts.some(x => x.signal.aborted); |
no outgoing calls