@univerjsrpcinterfacesIrpcchannelservice

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


Interface: IRPCChannelService

Methods

registerChannel()

registerChannel(name, channel): void

Parameters

ParameterType
namestring
channelIChannel

Returns

void

Defined in

submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:25


requestChannel()

requestChannel(name): IChannel

Parameters

ParameterType
namestring

Returns

IChannel

Defined in

submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:24