An implementation of AbortController which also implements Disposable.
A reentrant version of DisposableStack.
Type for something that can be turned into a Disposable.
Create an AbortController which also implements Disposable.
Call window.requestAnimationFrame with the provided callback and return a Disposable which will cancel the request when disposed.
A class mixin which provides a Disposable implementation.
Attach an event listener to an EventTarget and return a Disposable which will remove the listener when disposed.
Call setInterval with the provided callback and return a Disposable which will cancel the interval when disposed.
Test whether something implements Disposable.
Call setTimeout with the provided callback and return a Disposable which will cancel the timeout when disposed.
Construct a new Disposable out of any Disposifiable.
Tools for working with Disposables and things that should have been Disposable.