🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: https://www.lukaslechner.com/coroutin...
👨🎓 Here is the link to the Github Example Repository: https://github.com/LukasLechnerDev/Ko...
The terminal operator that we now cover in this lesson is called launchIn. And this one is quite different to the others because we don't need to start a new Coroutine before using it. Instead, we need to pass a CoroutineScope to it, and then a Coroutine is launched internally.
This video shows the differences between the terminal operators "lauchIn" and "collect".
TimeStamps
00:00 - Intro
01:00 - launchIn() documentation
02:05 - CoroutineScope needs to be passed
03:15 - launchIn VS collect
➤ Subscribe to the channel: / @lukaslechner
🌎 Check out my website: https://www.lukaslechner.com
📬 Subscribe to my newsletter: https://www.lukaslechner.com/newsletter/
➤ Follow me on twitter: / lukaslechnerdev