DisposableGroup
A Disposable that can dispose multiple Disposable and Job instances at once.
On dispose this destroys all Disposable and Job instances attached to it.
Inheritors
Functions
Link copied to clipboard
Add a Disposable to this group.
Add a Job to this group.
Link copied to clipboard
Disposes the Disposable when CoroutineLauncher completes (including cancellation).
Disposes the Disposable when CoroutineContext completes (including cancellation).
Disposes the Disposable when CoroutineScope completes (including cancellation).
Disposes the Disposable when Job completes (including cancellation).
Link copied to clipboard
Remove a Disposable from this group.
Remove a Job from this group.