Class: ChannelMain

Channel.ChannelMain

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ChannelMain(): ChannelMain

Returns

ChannelMain

Properties

initialised

Abstract initialised: Promise<unknown>

Defined in

webR/chan/channel.ts:38


inputQueue

inputQueue: AsyncQueue<Message>

Defined in

webR/chan/channel.ts:32


outputQueue

outputQueue: AsyncQueue<Message>

Defined in

webR/chan/channel.ts:33


systemQueue

systemQueue: AsyncQueue<Message>

Defined in

webR/chan/channel.ts:34

Methods

close

close(): void

Returns

void

Defined in

webR/chan/channel.ts:39


flush

flush(): Promise<Message[]>

Returns

Promise<Message[]>

Defined in

webR/chan/channel.ts:46


interrupt

interrupt(): void

Returns

void

Defined in

webR/chan/channel.ts:40


putClosedMessage

putClosedMessage(): void

Returns

void

Defined in

webR/chan/channel.ts:72


read

read(): Promise<Message>

Returns

Promise<Message>

Defined in

webR/chan/channel.ts:42


readSystem

readSystem(): Promise<Message>

Returns

Promise<Message>

Defined in

webR/chan/channel.ts:54


request

request(msg, transferables?): Promise<WebRPayload>

Parameters

Name Type
msg Message
transferables? [Transferable]

Returns

Promise<WebRPayload>

Defined in

webR/chan/channel.ts:62


resolveResponse

resolveResponse(msg): void

Parameters

Name Type
msg Response

Returns

void

Defined in

webR/chan/channel.ts:76


write

write(msg): void

Parameters

Name Type
msg Message

Returns

void

Defined in

webR/chan/channel.ts:58