Session
Asynchrony and the infinite conveyor belt: Advanced coroutines and flows
Most likely, you already know how to use coroutines and flows. They're part of our everyday existence. But all too often we learn them through repetition and rote learning, rather than forging a meaningful understanding of what's happening deep down.
So:
- What *really* happens when you mark a function as 'suspend'?
- How come crazy things like infinite loops on the main thread are possible?
- What's the magic link between coroutines and flows?
- What, really, is a scope? A context? A job?
And there's a satisfying conclusion, too! We find that everything is linked: the path that seems to add complexity, in fact takes us back full circle.
This is intended as a vertical dive into the intricacies of a familiar topic, designed so that experienced developers as well as beginners can learn from it.
It's based on my most popular blog series on asynchrony: https://proandroiddev.com/coroutine-patterns-in-android-and-why-they-work-3bf085f53536
Tom Colvin
Android GDE, CTO at Apptaura
Basingstoke, United Kingdom
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top