Hacker News new | past | comments | ask | show | jobs | submit login

> For example if I need to make few third party API calls in parallel ?

There’s curl-multi[0] you can use for that purpose. Not as nice as promises/async/await, but it gets the job done for your example.

[0] https://secure.php.net/manual/en/function.curl-multi-exec.ph...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: