メインコンテンツまでスキップ

Class: PromiseQueue

Constructors#

constructor#

new PromiseQueue()

Properties#

queue#

queue: { call: () => void ; promise: () => Promise<any> }[] = []

Defined in#

packages/webrtc/src/helper.ts:13


running#

running: boolean = false

Defined in#

packages/webrtc/src/helper.ts:14

Methods#

push#

push(promise): Promise<void>

Parameters#

NameType
promise() => Promise<any>

Returns#

Promise<void>

Defined in#

packages/webrtc/src/helper.ts:16


run#

run(): Promise<void>

Returns#

Promise<void>

Defined in#

packages/webrtc/src/helper.ts:22