android / architecture-samples

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
Apache License 2.0
44.16k stars 11.6k forks source link

Use event queue to avoid heap allocated coroutineScope #999

Open dturner opened 3 months ago

dturner commented 3 months ago

What have I done and why Added a queue for network sync events, implemented using a Channel. This avoids having a heap allocated coroutine scope which might fail silently.