@univerjscoreclassesDisposable

@univerjs/core v0.5.0-beta.1Docs


Class: Disposable

Extended by

Implements

Constructors

new Disposable()

new Disposable(): Disposable

Returns

Disposable

Properties

PropertyModifierTypeDefault valueDefined in
_disposedprotectedbooleanfalsepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IDisposable.dispose

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:100