Concept Flow - Callback pattern and callback hell
Start Function
Call async task 1
Callback 1 executes
Call async task 2 inside Callback 1
Callback 2 executes
Call async task 3 inside Callback 2
Callback 3 executes
End or handle error
This flow shows how callbacks are nested inside each other, causing deeper indentation and complexity known as callback hell.