Replies: 1 comment
-
Hey @AzraelD03, interesting question. Answering this question depends on how you want your project to work. Taken from your code example above, you're currently sending out a HTTP If you simply don't want to have this nested as it currently is, you could also use You can also check out Framework X which uses ReactPHP underneath and provides you with a simple framework to write async PHP code. This way you don't have to deal with all the low-level stuff, but this is completely up to you. I hope this helps 👍 FYI: I saw that you also opened #564 and it seems like these discussions are pretty similar, so let's use this ticket here as our main place to discuss this and I'll set the needed references in #564. |
Beta Was this translation helpful? Give feedback.
-
I would like to keep the code asynchronous, but not all $browser->methods inside each other, is it possible?
Beta Was this translation helpful? Give feedback.
All reactions