src/jsSSE.php
public function sendEvent($id, $data, $eventName)
    {
        $this->sendBlock($id, $data, $eventName);
        $this->flush();
    }
public function sendEvent($id, $data, $eventName)
    {
        $this->sendBlock($id, $data, $eventName);
        $this->flush();
    }
public function sendEvent ( $ id , $ data , $ eventName ) { $ this -> sendBlock ( $ id , $ data , $ eventName ) ; $ this -> flush ( ) ; }
Output a SSE Event.

@param $id
@param $data
@param $eventName
Output a SSE Event .