What is async
?
The async
keyword marks a function as asynchronous, meaning it can perform tasks that may take time to complete (such as network requests or file reading) without blocking the main thread. Asynchronous functions can be paused, allowing other code to execute while the task completes, and then resumed when the task finishes.