A disposable object which delegates to a callback function.
Construct a new disposable delegate.
The callback function to invoke on dispose.
Test whether the delegate has been disposed.
Dispose of the delegate and invoke the callback function.
Generated using TypeDoc
A disposable object which delegates to a callback function.