Class: PromiseQueue
#
Constructors#
constructor• new PromiseQueue()
#
Properties#
queue• queue: { call
: () => void
; promise
: () => Promise
<any> }[] = []
#
Defined inpackages/webrtc/src/helper.ts:13
#
running• running: boolean
= false
#
Defined inpackages/webrtc/src/helper.ts:14
#
Methods#
push▸ push(promise
): Promise
<void>
#
ParametersName | Type |
---|---|
promise | () => Promise <any> |
#
ReturnsPromise
<void>
#
Defined inpackages/webrtc/src/helper.ts:16
#
run▸ run(): Promise
<void>
#
ReturnsPromise
<void>