API Reference
@univerjs
@univerjs/rpc
interfaces
Irpcchannelservice

@univerjs/rpc v0.4.2Docs


Interface: IRPCChannelService

Methods

registerChannel()

registerChannel(name, channel): void

Parameters

ParameterType
namestring
channelIChannel

Returns

void

Defined in

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


requestChannel()

requestChannel(name): IChannel

Parameters

ParameterType
namestring

Returns

IChannel

Defined in

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


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