-
Hi, For implement this with Framework-X, I turned to the example chat that @clue created in the example project clue/php-sse-react. This works fine, despite being quite simple. First I created a fork from Opening I am aware that the code will give error, but I tryied.
Looking Framework-X documentation, I don't know what to do with $loop that is so obvious on ReactPHP, but not here. I noted that the file 10-styles.css seems to be loaded (last line of console), but do not reflect on browser. For now I stopped here. I need help. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Can you please provide a repository with your example code? Hard to assist you with debugging otherwise. |
Beta Was this translation helpful? Give feedback.
-
Hi @SimonFrings and @bpolaszek. For now, I'm supposing that in Framework-X, the loop begins with I believe that all my problems are related to BufferedChannel. I don't understand exactly what and how it works, and consequently don't know where and how it must be coded. Any help would be appreciated. Best, |
Beta Was this translation helpful? Give feedback.
Alright, I think you forgot this on top of your script (which is actually the old way of instantiating the loop - you can skip this, and line 64, replace
$loop
byLoop::get()
as it's been replaced by a singleton).