protected function sseStreaming($callback, $eventId = 'stream', $sleep = 1): Response
    {
        return ResponseFactory::getInstance()->buildStreamingSse($callback, $eventId, $sleep);
    }
protected function sseStreaming($callback, $eventId = 'stream', $sleep = 1): Response
    {
        return ResponseFactory::getInstance()->buildStreamingSse($callback, $eventId, $sleep);
    }
protected function sseStreaming ( $ callback , $ eventId = 'stream' , $ sleep = 1 ) : Response { return ResponseFactory :: getInstance ( ) -> buildStreamingSse ( $ callback , $ eventId , $ sleep ) ; }
Does a streaming server-sent event response which will loop and execute
the specified callback indefinitely and update the client only when
needed.

@param $callback
@param string $eventId
@param int $retry
@return Response
Does a streaming server - sent event response which will loop and execute the specified callback indefinitely and update the client only when needed .