@univerjsrpcinterfacesImessageprotocol

@univerjs/rpc v0.5.4


Interface: IMessageProtocol

Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:27

This protocol is for transferring data from the two peer univer instance running in different locations.

Properties

PropertyTypeDefined in
onMessageObservable<any>submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:29

Methods

send()

send(message): void

Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:28

Parameters

ParameterType
messageany

Returns

void