Class: ChannelMain
Channel.ChannelMain
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ChannelMain()
Properties
initialised
• Abstract
initialised: Promise
<unknown
>
Defined in
webR/chan/channel.ts:37
inputQueue
• inputQueue: AsyncQueue
<Message
>
Defined in
webR/chan/channel.ts:32
outputQueue
• outputQueue: AsyncQueue
<Message
>
Defined in
webR/chan/channel.ts:33
Methods
close
▸ Abstract
close(): void
Returns
void
Defined in
webR/chan/channel.ts:38
flush
▸ flush(): Promise
<Message
[]>
Returns
Promise
<Message
[]>
Defined in
webR/chan/channel.ts:45
interrupt
▸ Abstract
interrupt(): void
Returns
void
Defined in
webR/chan/channel.ts:39
read
▸ read(): Promise
<Message
>
Returns
Promise
<Message
>
Defined in
webR/chan/channel.ts:41
request
▸ request(msg
, transferables?
): Promise
<WebRPayload
>
Parameters
Name | Type |
---|---|
msg |
Message |
transferables? |
[Transferable ] |
Returns
Promise
<WebRPayload
>
Defined in
webR/chan/channel.ts:57
resolveResponse
▸ Protected
resolveResponse(msg
): void
Parameters
Name | Type |
---|---|
msg |
Response |
Returns
void
Defined in
webR/chan/channel.ts:67
write
▸ write(msg
): void
Parameters
Name | Type |
---|---|
msg |
Message |
Returns
void
Defined in
webR/chan/channel.ts:53