@univerjs/core v0.5.0-beta.1 • Docs
Class: Disposable
Extended by
UnitModel
CommandService
ContextService
ErrorService
UniverInstanceService
LifecycleService
LocaleService
DesktopLogService
PermissionService
Plugin
ResourceManagerService
ThemeService
LocalUndoRedoService
SheetViewModel
RxDisposable
RCDisposable
Implements
Constructors
new Disposable()
new Disposable(): Disposable
Returns
Properties
Property | Modifier | Type | Default value | Defined in |
---|---|---|---|---|
_disposed | protected | boolean | false | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
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