# updraftcentral/trunk/js/queue.min.js

UpdraftCentral Dashboard, version trunk. 1 lines.

- Page: https://pluginprobe.com/plugins/updraftcentral/trunk/code/js/queue.min.js
- Raw: https://pluginprobe.com/plugins/updraftcentral/trunk/raw/js/queue.min.js
- Modified: 2023-05-23T13:55:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/updraftcentral/trunk/code/js/queue.min.js#L10-L20`.

```javascript
function UpdraftCentral_Queue(){var n=[],e=0,t=!1;this.get_length=function(){return n.length-e},this.is_empty=function(){return 0==n.length},this.enqueue=function(t){n.push(t)},this.is_locked=function(){return t},this.get_lock=function(){return!t&&(this.lock(),!0)},this.dequeue=function(){var t;if(0!=n.length)return t=n[e],2*++e>=n.length&&(n=n.slice(e),e=0),t},this.lock=function(){t=!0},this.unlock=function(){t=!1},this.peek=function(){return 0<n.length?n[e]:void 0},this.replace_front=function(t){return!(n.length<1||(n[e]=t,0))}}
```
