are much lighter than ; But why? 🤔
What happens behind the scenes when we launch thousands of Coroutines It is okay but when does with Threads program become laggy or crash? Let's see why. 🌟

youtu.be/hjASLkHz-8k

#Coroutines #threads #kotlin #java #loom #android #AndroidDev

Last updated 1 year ago

droidcon · @droidcon
718 followers · 178 posts · Server androiddev.social

Structured concurrency helps cancel , not only individually but also centralised using root coroutine. By @goodandroidev

droidcon.com/2023/04/17/applyi

#kotlin #Coroutines

Last updated 2 years ago

Greg Fawson · @greg_fawson
278 followers · 20 posts · Server androiddev.social

RT @droidcon
Expand your horizons with new skills 📓

Instructor @StefanCatalin will explain how to build an app from scratch using , , Flows, , , & HILT DI using MAD skills.

Shop the course: academy.droidcon.com/course/bu

#android #mvvm #JetpackCompose #kotlin #Coroutines #roomdatabase #retrofit

Last updated 2 years ago

droidcon · @droidcon
668 followers · 91 posts · Server androiddev.social

Expand your horizons with new skills 📓

Instructor @StefanCatalin will explain how to build an app from scratch using , , Flows, , , & HILT DI using MAD skills.

Shop the course: academy.droidcon.com/course/bu

#android #mvvm #JetpackCompose #kotlin #Coroutines #roomdatabase #retrofit

Last updated 2 years ago

Manuel Ernesto · @manuelernest0
12 followers · 3 posts · Server androiddev.social

Huge thanks to .us for the opportunity to speak about , and  in this amazing event.

#geekle #kotlin #Springboot #Coroutines #kotlincoroutine #developer #google

Last updated 2 years ago

Manuel Ernesto · @manuelernest0
11 followers · 2 posts · Server androiddev.social

Hey friends 🥷!

☕ I’m going to be speaking at the @ ONLINE SUMMIT FOR JAVA DEVS’23.
The conference will be covering the Java (and Kotlin 🤗) ecosystem today and tomorrow.

☕️ Over 25 sessions about Spring, Kotlin, Kubernetes, Openshift, Project Loom, OpenTelemetry and more.

In my talk, I am going to share bout async services with and Spring Boot.

🎟️ events.geekle.us/java23/

#kotlin #Coroutines #kotlindeveloper #Springboot #jvm

Last updated 2 years ago

Aleksandar · @alexandar
53 followers · 4 posts · Server androiddev.social

What is the purpose of the withContext function in Kotlin Coroutines?

- The withContext function is used to change the context of a coroutine, for example, to switch from a background thread to the main thread. It allows you to execute code in a different thread while still preserving the current context, such as the current scope and job.

#AndroidDev #androiddevs #android #kotlin #Coroutines

Last updated 2 years ago

Aleksandar · @alexandar
33 followers · 3 posts · Server androiddev.social

What is the difference between CoroutineScope and GlobalScope in Kotlin Coroutines?

- CoroutineScope is used to define the scope for a group of related coroutines, and provides a way to cancel all the coroutines when the scope is no longer needed. GlobalScope is a predefined scope that is used for coroutines that have no specific scope, and continue to run even after the completion of the main function.

#AndroidDev #androiddevs #android #kotlin #Coroutines

Last updated 2 years ago

Aleksandar · @alexandar
23 followers · 2 posts · Server androiddev.social

What is the difference between suspend and resume in Kotlin Coroutines?

- suspend is used to pause the execution of a coroutine and return control to the caller, while resume is used to resume the execution of a suspended coroutine. Together, these two methods allow coroutines to perform tasks asynchronously, without blocking the calling thread.

#AndroidDev #androiddevs #android #kotlin #Coroutines

Last updated 2 years ago

Jorge Castillo :verified: · @jorge
786 followers · 100 posts · Server androiddev.social

RT @vergauwen_simon@twitter.com

I’m giving a Deep Dive course into tomorrow, which I hope to transform into a fully fledged zero-to-hero coroutines course soon. twitter.com/47deg/status/16004

🐦🔗: twitter.com/vergauwen_simon/st

#kotlin #Coroutines

Last updated 2 years ago

droidcon · @droidcon
381 followers · 24 posts · Server androiddev.social

Watch talks from all our past events 🎥 This week, we've got Lamberto Basti's talk from droidconLondon on how operators are made & how we can implement behaviours with a handful of lines by the power of .

Full talk here: droidcon.com/2022/11/15/go-wit

#AndroidDev #flow #Coroutines

Last updated 2 years ago

droidcon · @droidcon
381 followers · 24 posts · Server androiddev.social

Watch talks from all our past events 🎥 This week, we've got Lamberto Basti's talk from droidconLondon on how operators are made & how we can implement behaviours with a handful of lines by the power of .

Full talk here: droidcon.com/2022/11/15/go-wit

#AndroidDev #flow #Coroutines

Last updated 2 years ago

tateisu​ :force:​:r_9a: · @tateisu
1186 followers · 20162 posts · Server mastodon.juggler.jp

runBlocking{} のスコープからlaunchするときにDispatchersを省略するとすぐに開始しない。知らんかった…

#kotlin #Coroutines

Last updated 4 years ago