Class: ChannelMain
Channel.ChannelMain
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ChannelMain(): ChannelMain
Returns
Properties
initialised
• Abstract initialised: Promise<unknown>
Defined in
webR/chan/channel.ts:40
inputQueue
• inputQueue: AsyncQueue<Message>
Defined in
webR/chan/channel.ts:33
outputQueue
• outputQueue: AsyncQueue<Message>
Defined in
webR/chan/channel.ts:34
systemQueue
• systemQueue: AsyncQueue<Message>
Defined in
webR/chan/channel.ts:35
Methods
close
▸ close(): void
Returns
void
Defined in
webR/chan/channel.ts:41
flush
▸ flush(): Promise<Message[]>
Returns
Promise<Message[]>
Defined in
webR/chan/channel.ts:48
interrupt
▸ interrupt(): void
Returns
void
Defined in
webR/chan/channel.ts:42
putClosedMessage
▸ putClosedMessage(): void
Returns
void
Defined in
webR/chan/channel.ts:77
read
▸ read(): Promise<Message>
Returns
Promise<Message>
Defined in
webR/chan/channel.ts:44
readSystem
▸ readSystem(): Promise<Message>
Returns
Promise<Message>
Defined in
webR/chan/channel.ts:56
request
▸ request(msg, transferables?): Promise<WebRPayload>
Parameters
| Name | Type |
|---|---|
msg |
Message |
transferables? |
[Transferable] |
Returns
Promise<WebRPayload>
Defined in
webR/chan/channel.ts:67
resolveResponse
▸ resolveResponse(msg): void
Parameters
| Name | Type |
|---|---|
msg |
Response |
Returns
void
Defined in
webR/chan/channel.ts:82
write
▸ write(msg): void
Parameters
| Name | Type |
|---|---|
msg |
Message |
Returns
void
Defined in
webR/chan/channel.ts:60