The Async plugin contains types and functions that can be used to add asynchronous instructions to your application's processing flow.
Note:If you are new to asynchronous programming:
Synchronous and asynchronous refer to the order in which a program or system performs tasks.
Synchronous programming is when a program executes one task at a time, in a linear or sequential order. The program will not move on to the next task until the current task is completed. This means that the program is blocked or "stuck" waiting for the task to finish before it can continue.
Asynchronous programming, on the other hand, allows a program to execute multiple tasks at the same time, without waiting for each task to finish before starting the next one. This allows for tasks to be executed in parallel, rather than sequentially. When a task is invoked asynchronously, the program does not wait for it to complete before moving on to the next task, allowing for more efficient use of resources.