src/api/instagram.js
/**
     * Pop a post off the postBuffer (using locks). Returns null if no posts in buffer
     */
Pop a post off the postBuffer (using locks). Returns null if no posts in buffer
Pop a post off the postBuffer ( using locks ) . Returns null if no posts in buffer
async postPop() {
        let post = null;
        await this.postBufferLock.acquireAsync();
        if (this.postBuffer.length > 0) {
            post = this.postBuffer.shift();
        }
        this.postBufferLock.release();
        return post;
    }
async postPop ( ) { let post = null ; await this . postBufferLock . acquireAsync ( ) ; if ( this . postBuffer . length > 0 ) { post = this . postBuffer . shift ( ) ; } this . postBufferLock . release ( ) ; return post ; }
Pop a post off the postBuffer (using locks).
Pop a post off the postBuffer ( using locks ) .