@univerjs/core v0.2.11 • Docs
Class: RCDisposable
Extends
Constructors
new RCDisposable()
new RCDisposable(_rootDisposable): RCDisposable
Parameters
Parameter | Type |
---|---|
_rootDisposable | IDisposable |
Returns
Overrides
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:129 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dec()
dec(): void
Returns
void
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:140 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
protected disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
inc()
inc(): void
Returns
void
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:133 (opens in a new tab)