@univerjsrpcclassesDatasyncreplicacontroller

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


Class: DataSyncReplicaController

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

Parameters

ParameterType
_injectorInjector
_remoteInstanceServiceIRemoteInstanceService
_commandServiceICommandService
_rpcChannelServiceIRPCChannelService

Returns

DataSyncReplicaController

Overrides

Disposable.constructor

Defined in

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

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

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


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

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


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

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