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

preview_player
Показать описание

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.
- Understand why using GlobalScope is highly discouraged?
- Explore what exactly is the use of runBlocking builder.
- Write JUnit test cases for suspending function (suspend modifier) using runBlocking coroutine builder.


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:

Donate and support us
[Only if you think our courses are better than Udemy or Udacity]

Programming courses:

Flutter course:

Android courses:

More programming courses:

Follow us on

---- Thank you for your love and support ---- .
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

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?

SriyankSiddhartha
Автор

There are two ways to start coroutines, and they have different uses:
launch builder will start a new coroutine that is “fire and forget” — that means it won’t return the result to the caller.
async builder will start a new coroutine, and it allows you to return a result with a suspend function called await.

sagarghare
Автор

i am following you from 7 years .. you have a style of teaching . you are proffesional . thank you

jaserq
Автор

Hands down. Amazing explanation. Thank you so so much. Very genuine and easiest explanations of all.

yashwant_vadali
Автор

Learnt kotlin from your videos only and now coroutines. Thank you so much

rahulh
Автор

Bravo!!! Excellent teaching skills you have!!!

redfox
Автор

Very good man!! Keep going..don't stop the videos!!

samuelmile
Автор

Thanks, Sriyank your videos and class are very clear and informative

ajeenadev
Автор

Perfect explanation. Thank you very much.

kgkg
Автор

in layman's language, nice and simple, and Perfect!

rasoolmohamed
Автор

Great teaching Sir....Respect from Continue...

sunilkumar-zleo
Автор

Thank you bro for making understandable video, I appreciate your work.

jaloliddinabdullaev
Автор

It's just awesome.. Thank you sir 👍

jayantkumar
Автор

Good video, sound and representation are very good.

kktechnology
Автор

I now understand how Kotlin coroutines work. fine.

robertlincecum
Автор

Thank you Android God..clear explanation.. Thanks a lot...

nandhinikajendhiran
Автор

Thanks Sriyank ..your videos are concise and to the point. Please keep sharing knowledge like this..just one thing can you please create a playlist on the Coroutine Videos?

khairul
Автор

I watch ur video and its very helpful for us. Can u add series number also so next video can find and watch easily.
eg
Coroutine 1: Kotlin Coroutines: Explore what are coroutines in kotlin. Threads vs. Coroutines.
Coroutine 2: Kotlin Coroutine Builders: launch, async, and runBlocking along with GlobalScope companion object.

Hope u wll understand...
otherwise its difficult to find which is next video...

siddharthashankar
Автор

Hey Sriyank..you are awesome.. thank you for being back again..I was wondering why you stopped making videos....

shwetapathak
Автор

I am not able to use "launch" to create a coroutine, it's showing = Unresolved reference: launch, Please tell what to do?

roopkishore