Session
Don’t call us - we’ll call you: Modern SwiftUI callbacks using AsyncStream
Mobile apps have to permanently deal with asynchronous events - notifications, network status, database updates, user input, and more. The way how we have dealt with asynchronous events has changed significantly over time - from callback delegates to closures, and now AsyncSequence.
In this talk, we will take a deep dive into how AsyncStream works, how to use it in your apps, and how to use it to build ergonomic APIs. We will also take a trip down memory lane to understand where we’re coming from, and how asynchronous APIs have evolved over the years.
You will learn:
- All the ways to listen to asynchronous events
- How AsyncStream helps to make your apps more robust
- What’s the difference between AsyncSequence and AsyncStream
- How to use AsyncStream to implement modern APIs that are easy to use
I will provide real-world examples to explain the underlying concepts, and we’ll take a look at how the Firebase team implemented asynchronous APIs over the span of almost a decade and several iterations of Objective-C and Swift.
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