RoomleConfigurator.Internal.PromiseQueue
configurator-core/src/roomle-configurator.internal.PromiseQueue
Type parameters
Name |
---|
|
Table of contents
Constructors
Accessors
Methods
Constructors
constructor
• new PromiseQueue<T
>(callback?
, errorCallback?
)
Type parameters
Name |
---|
|
Parameters
Name | Type |
---|---|
| ( |
| ( |
Accessors
length
• get
length(): number
Returns
number
Methods
clear
▸ clear(): void
Returns
void
finished
▸ finished(ignoreErrors?
): Promise
<T
[]>
Wait for current queue to finish
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
Returns
Promise
<T
[]>
push
▸ push(promise
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
registerCallback
▸ registerCallback(callback
): void
Callback whenever queue is finished
Parameters
Name | Type |
---|---|
| ( |
Returns
void
unregisterCallback
▸ unregisterCallback(): void
Returns
void
PreviousRoomleConfigurator.Internal.PostProcessingMaterialPluginNextRoomleConfigurator.Internal.RenderCacheManager
Last updated