An abstract superclass to bridge the gap between the internal AbortController and the external Disposable interface.
new
AbortOnDispose(abortController: AbortController)
private
abortController: AbortController
[Symbol.dispose](): void
cancel(): void
Cancel the underlying subscription. Use this to free resources if you don't use TypeScript with version 5.2 or higher. (Otherwise, use the using
keyword to have your item automatically disposed of.)