DisposableList Class
A disposable container of disposable objects.
Implements
Methods
Name | Description | |
---|---|---|
constructor(disposables: IDisposable | DisposeFunc[][]): DisposableList | Creates a disposable list. | |
add(disposable: IDisposable | DisposeFunc): void | Register an object for disposal. | |
dispose(): void | Disposes all registered objects. | |
remove(disposable: IDisposable): void | Unregister disposable object. |
Defined in
- core/bentley/src/Disposable.ts Line 119
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.