API Reference
@univerjs
@univerjs/rpc
Readme

@univerjs/rpc v0.1.17Docs


@univerjs/rpc

Classes

ClassDescription
ChannelClientThis method provides implementation for IChannel and is responsible for transforming a local calling to a RPC calling.
ChannelServer-
ChannelServiceThis service is responsible for managing the RPC channels.
DataSyncPrimaryControllerThis controller is responsible for syncing data from the primary thread to the worker thread.
DataSyncReplicaControllerThis controller is responsible for syncing data from the worker thread to the primary thread.
RemoteSyncPrimaryService-
UniverRPCMainThreadPluginThis plugin is used to register the RPC services on the main thread. It is also responsible for booting up the Web Worker instance of Univer.
UniverRPCWorkerThreadPluginThis plugin is used to register the RPC services on the worker thread.
WebWorkerRemoteInstanceService-

Interfaces

InterfaceDescription
IMessageProtocolThis protocol is for transferring data from the two peer univer instance running in different locations.
IRPCChannelService-
IRemoteInstanceService-
IRemoteSyncService-
IUniverRPCMainThreadConfig-
IUniverRPCWorkerThreadPluginConfig-

Variables

VariableDescription
RemoteInstanceServiceName-
RemoteSyncServiceName-

Functions

FunctionDescription
IRPCChannelService-
IRemoteInstanceService-
IRemoteSyncService-

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.