@univerjs/rpc v0.4.2 • Docs
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
Parameter | Type |
---|---|
_injector | Injector |
_remoteInstanceService | IRemoteInstanceService |
_commandService | ICommandService |
_rpcChannelService | IRPCChannelService |
Returns
Overrides
Defined in
packages/rpc/src/controllers/data-sync/data-sync-replica.controller.ts:36 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)