Category: Laravel, PHP, nodejs, javascript

Hi, I’m Valerio, software engineer and CTO at Inspector. Whether you’ve looked at async/await and promises in javascript before, but haven’t quite mastered them yet, this article aims to help you to better understand the real effects of the nodejs async engine on your code execution flow. Furthermore we’ll do it visually, navigating the code execution flow in real-time thanks to Inspector.

Take a look on the following code example to read a file in nodejs: We tried to read a file using the asynchronous interface of the fs module.

Once we started to read our file the execution continued, and the application printed End of the script....
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners