How to use the queue.o function in queue

To help you get started, we’ve selected a few queue examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github masksnytko / pg.io / lib / connection.js View on Github external
init() {
        this.rBuf = Buffer.alloc(0);
        this.queue = new Queue;
        this.ready = false;
        this.offset = 0;
        this.fields = [];
        this.stack = [];
        this.info = {};
        this.res = [];
    }
    connect() {