Class: AsyncQueue<T>

Queue.AsyncQueue

Asynchronous queue mechanism to be used by the communication channels.

Type parameters

Name Description
T The type of item to be stored in the queue.

Table of contents

Constructors

Accessors

Methods

Constructors

constructor

new AsyncQueue<T>()

Type parameters

Name
T

Defined in

webR/chan/queue.ts:14

Accessors

length

get length(): number

Returns

number

Defined in

webR/chan/queue.ts:43

Methods

get

get(): Promise<T>

Returns

Promise<T>

Defined in

webR/chan/queue.ts:27


isBlocked

isBlocked(): boolean

Returns

boolean

Defined in

webR/chan/queue.ts:39


isEmpty

isEmpty(): boolean

Returns

boolean

Defined in

webR/chan/queue.ts:35


put

put(t): void

Parameters

Name Type
t T

Returns

void

Defined in

webR/chan/queue.ts:19