@univerjs/core v0.4.2 • Docs
Class: DisposableCollection
Implements
Constructors
new DisposableCollection()
new DisposableCollection(): DisposableCollection
Returns
Methods
add()
add(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:71 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Implementation of
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:83 (opens in a new tab)