Constructor
new Booth()
Properties:
Name | Type | Description |
---|---|---|
isLocked |
Boolean | Whether the queue is lock or unlocked |
shouldCycle |
Boolean | Whether the queue cycles or not |
- Source:
Methods
clear() → {Promise}
Clears and locks the queue
- Source:
Returns:
- Type
- Promise
disableCycle() → {Promise}
Disables queue cycling
- Source:
Returns:
- Type
- Promise
enableCycle() → {Promise}
Enables queue cycling
- Source:
Returns:
- Type
- Promise
lock() → {Promise}
Locks the queue
- Source:
Returns:
- Type
- Promise
unlock() → {Promise}
Unlocks the queue
- Source:
Returns:
- Type
- Promise