amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

using-javascript-style-promises-php/ #49

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Using JavaScript-style Promises in PHP — Amit Merchant — A blog on PHP, JavaScript, and more

If you’re familiar with JavaScript, you might have worked with or at least heard about Promises at some point of time.

https://www.amitmerchant.com/using-javascript-style-promises-php/

fatso83 commented 2 years ago

Is this implementation somehow concurrent or async? The latter meaning it depends on an event loop (as Node). Can you dispatch multiple http requests and await them in parallel?