Segment_Client::flush PHP Method

flush() public method

Flush any async consumers
public flush ( ) : boolean
return boolean true if flushed successfully
    public function flush()
    {
        if (method_exists($this->consumer, 'flush')) {
            return $this->consumer->flush();
        }
        return true;
    }