You’ve said async await can hide lifecycle bugs.Did you ever ship one tied to app foreground events?
A real-world bug where async/await masked a lifecycle issue in a mobile app: when the app entered the foreground, an async refresh task started but wasn't cancelled when the app quickly went back to the background. This caused multiple overlapping refresh tasks to accumulate. The fix required explicitly managing and cancelling the refresh task on lifecycle changes.
•1m watch time
Sort: