@univerjs/rpc v0.4.2 • Docs
Interface: IRPCChannelService
Methods
registerChannel()
registerChannel(name, channel): void
Parameters
Parameter | Type |
---|---|
name | string |
channel | IChannel |
Returns
void
Defined in
packages/rpc/src/services/rpc/channel.service.ts:25 (opens in a new tab)
requestChannel()
requestChannel(name): IChannel
Parameters
Parameter | Type |
---|---|
name | string |
Returns
IChannel
Defined in
packages/rpc/src/services/rpc/channel.service.ts:24 (opens in a new tab)