@univerjsrpcclassesDatasyncreplicacontroller

@univerjs/rpc v0.5.4


Class: DataSyncReplicaController

Defined in: submodules/univer/packages/rpc/src/controllers/data-sync/data-sync-replica.controller.ts:33

This controller is responsible for syncing data from the worker thread to the primary thread.

Extends

Constructors

new DataSyncReplicaController()

new DataSyncReplicaController(
   _injector, 
   _remoteInstanceService, 
   _commandService, 
   _rpcChannelService): DataSyncReplicaController

Defined in: submodules/univer/packages/rpc/src/controllers/data-sync/data-sync-replica.controller.ts:36

Parameters

ParameterType
_injectorInjector
_remoteInstanceServiceIRemoteInstanceService
_commandServiceICommandService
_rpcChannelServiceIRPCChannelService

Returns

DataSyncReplicaController

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed