rialto-php / rialto

Manage Node resources with PHP
MIT License
170 stars 80 forks source link

async is not available? #2

Closed mdeora closed 6 years ago

mdeora commented 6 years ago

No async communication ?

nesk commented 6 years ago

Nope, if you want to create a bridge which will start long running actions then you should use your bridge in some queues, not in your main PHP process.

mdeora commented 6 years ago

Ok, but even for short running parallel tasks might have been helpful. eg. fetching html of multiple urls and firing response event as it gets the response to a async handler in PHP.

nesk commented 6 years ago

Actually, parallel requests could be a great idea, I will think about a solution and see if it can be easily implemented, either in Rialto or PuPHPeteer.