public function flush()
    {
        if (!$this->config["blocking"] && !empty($this->asyncBuffer)) {
            $wrote = fwrite($this->destinationHandler, $this->asyncBuffer);
            $this->asyncBuffer = substr($this->asyncBuffer, $wrote);
        }

        return empty($this->asyncBuffer);
    }
public function flush()
    {
        if (!$this->config["blocking"] && !empty($this->asyncBuffer)) {
            $wrote = fwrite($this->destinationHandler, $this->asyncBuffer);
            $this->asyncBuffer = substr($this->asyncBuffer, $wrote);
        }

        return empty($this->asyncBuffer);
    }
public function flush ( ) { if ( ! $ this -> config [ "blocking" ] && ! empty ( $ this -> asyncBuffer ) ) { $ wrote = fwrite ( $ this -> destinationHandler , $ this -> asyncBuffer ) ; $ this -> asyncBuffer = substr ( $ this -> asyncBuffer , $ wrote ) ; } return empty ( $ this -> asyncBuffer ) ; }
Forces pushing remaining data from buffer to destination.
This method only makes sense in non-blocking mode.

@return bool
Forces pushing remaining data from buffer to destination . This method only makes sense in non - blocking mode .