Is there no way to access the main loop throught the application class? It would be useful to add timer etc
In ratchet is possible as (for example WebSocket Server):
$server = new IoServer(new HttpServer(new WsServer(new Chat($loop))), $socket, $loop);
Is there no way to access the main loop throught the application class? It would be useful to add timer etc
In ratchet is possible as (for example WebSocket Server):
$server = new IoServer(new HttpServer(new WsServer(new Chat($loop))), $socket, $loop);