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>(): AsyncQueue<T>

Type parameters

Name
T

Returns

AsyncQueue<T>

Defined in

webR/chan/queue.ts:14

Accessors

length

get length(): number

Returns

number

Defined in

webR/chan/queue.ts:48

Methods

get

get(): Promise<T>

Returns

Promise<T>

Defined in

webR/chan/queue.ts:32


isBlocked

isBlocked(): boolean

Returns

boolean

Defined in

webR/chan/queue.ts:44


isEmpty

isEmpty(): boolean

Returns

boolean

Defined in

webR/chan/queue.ts:40


put

put(t): void

Parameters

Name Type
t T

Returns

void

Defined in

webR/chan/queue.ts:24


reset

reset(): void

Returns

void

Defined in

webR/chan/queue.ts:19