src/DynamoDb/WriteRequestBatch.php
private function autoFlush()
    {
        if ($this->config['autoflush']
            && count($this->queue) >= $this->config['threshold']
        ) {
            // Flush only once. Unprocessed items are handled in a later flush.
            $this->flush(false);
        }
    }
private function autoFlush()
    {
        if ($this->config['autoflush']
            && count($this->queue) >= $this->config['threshold']
        ) {
            // Flush only once. Unprocessed items are handled in a later flush.
            $this->flush(false);
        }
    }
private function autoFlush ( ) { if ( $ this -> config [ 'autoflush' ] && count ( $ this -> queue ) >= $ this -> config [ 'threshold' ] ) { // Flush only once. Unprocessed items are handled in a later flush. $ this -> flush ( false ) ; } }
If autoflush is enabled and the threshold is met, flush the batch
If autoflush is enabled and the threshold is met flush the batch