@univerjs/rpc v0.5.0-beta.1 • 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 > | submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:29 |
Methods
send()
send(message): void
Parameters
Parameter | Type |
---|---|
message | any |
Returns
void
Defined in
submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:27