protected function ssePolling($data, $eventId = 'stream', $retry = 1000): Response
    {
        return ResponseFactory::getInstance()->buildPollingSse($data, $eventId, $retry);
    }
protected function ssePolling($data, $eventId = 'stream', $retry = 1000): Response
    {
        return ResponseFactory::getInstance()->buildPollingSse($data, $eventId, $retry);
    }
protected function ssePolling ( $ data , $ eventId = 'stream' , $ retry = 1000 ) : Response { return ResponseFactory :: getInstance ( ) -> buildPollingSse ( $ data , $ eventId , $ retry ) ; }
Does a simple server-sent event response which will do a simple polling.

@param mixed $data
@param string $eventId
@param int $retry
@return Response
Does a simple server - sent event response which will do a simple polling .