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