@univerjs-pro/collaboration-client v0.5.0-beta.1 • Docs
Class: DataLoaderController
This controller loads data when URL changes.
Extends
Constructors
new DataLoaderController()
new DataLoaderController(
_urlService,
_logService,
_commandService,
_localCacheService,
_snapshotService,
remoteInstanceService?): DataLoaderController
Parameters
Parameter | Type |
---|---|
_urlService | IURLService |
_logService | ILogService |
_commandService | ICommandService |
_localCacheService | LocalCacheService |
_snapshotService | SnapshotService |
remoteInstanceService ? | IRemoteInstanceService |
Returns
Overrides
Defined in
packages/collaboration-client/src/controllers/data-loader/data-loader.controller.ts:15
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:117 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:119
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100