Skip to main content

interface RemoteChannelServer

A RemoteChannel server communicates with a RemoteChannel client through the given message port, and allows clients to easily create new channels to communicate with processes in the server context. The server needs to set up handlers to deal with the created channels.

Companion namespace: RemoteChannelServer

Properties

crossChannelCh

Channel that will send new cross channels requested by the client.

Definition

readonly crossChannelCh: Channel.Read<CrossChannel<unknown, unknown>>;

readChannelCh

Channel that will send new read channels requested by the client.

Definition

readonly readChannelCh: Channel.Read<Channel.Read<unknown>>;

writeChannelCh

Channel that will send new write channels requested by the client.

Definition

readonly writeChannelCh: Channel.Read<Channel.Write<unknown>>;