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);
    }