dis+/node_modules/@google-cloud/pubsub/build/src/publisher/message-queues.js
/**
     * Reference to the batch we're currently filling.
     * @returns {MessageBatch}
     */
Reference to the batch we're currently filling.
Reference to the batch we ' re currently filling .
get currentBatch() {
        if (!this.batches.length) {
            this.batches.push(this.createBatch());
        }
        return this.batches[0];
    }
get currentBatch ( ) { if ( ! this . batches . length ) { this . batches . push ( this . createBatch ( ) ) ; } return this . batches [ 0 ] ; }
Reference to the batch we're currently filling.
Reference to the batch we ' re currently filling .