@univerjsrpcinterfacesImessageprotocol

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


Interface: IMessageProtocol

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

Parameters

ParameterType
messageany

Returns

void

Defined in

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