Concept Flow - Callback pitfalls
Start function with callback
Call async operation
Async operation finishes
Invoke callback
Callback runs with data
Possible issues: callback called multiple times or not at all
End
This flow shows how a callback is passed to an async function, then called later, highlighting common pitfalls like multiple calls or missing calls.