Home » Education » Kotlin Coroutine Builders: launch, async, and runBlocking along with GlobalScope companion object

Kotlin Coroutine Builders: launch, async, and runBlocking along with GlobalScope companion object

Written By Smartherd on Tuesday, Sep 15, 2020 | 10:04 PM

 
Access 7000+ courses for 60 days FREE: https://pluralsight.pxf.io/c/1291657/424552/7490 Get a detailed understanding of using Coroutine builders which are nothing but the higher-order functions used to create coroutines. - Explore launch, async, and runBlocking coroutine builders. - Use of GlobalScope companion object which is used as GlobalScope.launch and GlobalScope.async function. - Understand why using GlobalScope is highly discouraged? - Difference between GlobalScope.launch() and launch(). Also between GlobalScope.async() and async(). - Explore what exactly is the use of runBlocking builder. - Write JUnit test cases for suspending function (suspend modifier) using runBlocking coroutine builder. Next Video: https://youtu.be/CswqyZJikxI Previous Video: https://youtu.be/C38lG2wraoo Source code link: https://bit.ly/2QtcUWR Chapters 00:00 Introduction 01:33 Coroutine Builders 02:57 Purpose of GlobalScope 08:02 launch coroutine builder 15:02 async coroutine builder 19:56 runBlocking coroutine builder 25:02 Summary 26:15 What's Next? Check out my website: https://bit.ly/smartherd Donate and support us [Only if you think our courses are better than Udemy or Udacity] Patreon: https://bit.ly/patreon-donate Paypal/Payoneer: [email protected] UPI (only for India): smartherd@okaxis Programming courses: Ruby Programming: https://bit.ly/smyt-r Dart Programming: https://bit.ly/smyt-d Kotlin Programming: https://bit.ly/smyt-k Java Programming: https://bit.ly/smyt-j Flutter course: Flutter App Development: https://bit.ly/2Rg7EFR Android courses: Android using Kotlin: https://bit.ly/smyt-ka Android using Java: https://bit.ly/smyt-ja Android Material Design: https://bit.ly/2SMJqU6 Android Jetpack Architecture: https://bit.ly/yt-j Android Multiple Screen Support: https://bit.ly/smyt-mss Android Retrofit: https://bit.ly/2Ee6GHn More programming courses: https://bit.ly/smy-list Follow us on Facebook: https://bit.ly/smartherd-facebook Twitter: https://bit.ly/smartherd-twitter Github: https://bit.ly/smartherd-github ---- Thank you for your love and support ---- . . Please donate and support my work (If you think my free tutorials are better than paid ones :) - Patreon: https://bit.ly/patreon-donate - Paypal/Payoneer: [email protected] - UPI (only for India): smartherd@okaxis :: If you want to develop a website or a mobile app, email me your requirement at [email protected] :: Free demos provided beforehand :: - Access my premium courses: https://bit.ly/sriyank-courses Free Programming courses: - Ruby Programming: https://bit.ly/smyt-r - Dart Programming: https://bit.ly/smyt-d - Kotlin Programming: https://bit.ly/smyt-k - Java Programming: https://bit.ly/smyt-j - Kotlin Coroutines: https://bit.ly/smyt-coru Free Flutter course: - Flutter App Development: https://bit.ly/2Rg7EFR Free Android courses: - Android using Kotlin: https://bit.ly/smyt-ka - Android using Java: https://bit.ly/smyt-ja - Android Material Design: https://bit.ly/2SMJqU6 - Android Jetpack Architecture: https://bit.ly/yt-j - Android Multiple Screen Support: https://bit.ly/smyt-mss - Android Retrofit: https://bit.ly/2Ee6GHn More free programming courses: - https://bit.ly/smy-list Check out my website: - https://bit.ly/smartherd Let's get in touch! [Sriyank Siddhartha] LinkedIn: https://bit.ly/sriyank-linkedin Facebook: https://bit.ly/smartherd-facebook Instagram: https://bit.ly/sriyank-instagram Twitter: https://bit.ly/sriyank-twitter Github: https://bit.ly/smartherd-github ---- Thank you for your love and support ----