ReactPHP Tutorial #3: Promises

preview_player
Показать описание
Using promises to handle asynchronous results in ReactPHP.

=====================

Books:

=====================

Рекомендации по теме
Комментарии
Автор

Thanks for the tut.
But, I'm missing a point here. Yes, the chained ->then calls execute in sequence to the returned promise, but how is this asynchronous? You're still blocking on the http function call. If I can do the same thing with callbacks, then what's the point other then to be perhaps a little more readable?

darylwood
Автор

How to pass array with URL's into ReactPHP loop? Because if i pass it with foreach and execute GET inside loop its seems not going asynchronously

sharebt
Автор

With CURL takes me 5 min to finish checking status of 100 links hope this will help me :)

sharebt