API Reference
@univerjs
@univerjs/rpc
interfaces
Imessageprotocol

@univerjs/rpc v0.4.2Docs


Interface: IMessageProtocol

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

Properties

PropertyTypeDefined in
onMessageObservable<any>packages/rpc/src/services/rpc/rpc.service.ts:25 (opens in a new tab)

Methods

send()

send(message): void

Parameters

ParameterType
messageany

Returns

void

Defined in

packages/rpc/src/services/rpc/rpc.service.ts:24 (opens in a new tab)


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