@univerjs-pro/collaboration-client v0.5.0-beta.1Docs


Class: DataLoaderController

This controller loads data when URL changes.

Extends

Constructors

new DataLoaderController()

new DataLoaderController(
   _urlService, 
   _logService, 
   _commandService, 
   _localCacheService, 
   _snapshotService, 
   remoteInstanceService?): DataLoaderController

Parameters

ParameterType
_urlServiceIURLService
_logServiceILogService
_commandServiceICommandService
_localCacheServiceLocalCacheService
_snapshotServiceSnapshotService
remoteInstanceService?IRemoteInstanceService

Returns

DataLoaderController

Overrides

RxDisposable.constructor

Defined in

packages/collaboration-client/src/controllers/data-loader/data-loader.controller.ts:15

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:117

Methods

dispose()

dispose(): void

Returns

void

Inherited from

RxDisposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:119


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

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