@univerjs/rpc v0.4.2 • Docs
Interface: IMessageProtocol
This protocol is for transferring data from the two peer univer instance running in different locations.
Properties
Property | Type | Defined in |
---|---|---|
onMessage | Observable <any > | packages/rpc/src/services/rpc/rpc.service.ts:25 (opens in a new tab) |
Methods
send()
send(message): void
Parameters
Parameter | Type |
---|---|
message | any |
Returns
void
Defined in
packages/rpc/src/services/rpc/rpc.service.ts:24 (opens in a new tab)