Become a member
Sign in
vishnupalaniswamy
vishnupalaniswamy

vishnupalaniswamy

11 Following
1 Followers
·
  • Profile
  • Claps
  • Highlights

Highlighted by vishnupalaniswamy

See more

From Blocking threads, suspending coroutines by Roman Elizarov

…ng/non-suspending on top of that. To make everybody’s life simpler we use the following convention: suspending functions do not block the caller thread.

From Blocking threads, suspending coroutines by Roman Elizarov

r by adding suspend modifier to … made is that adding a suspend modifier to a function makes it either asynchronous or non-blocking. You can even notice this mistake in the talk “Exploring Coroutines in Kotlin” by Venkat Subramariam from KotlinConf 2018. Let us examine this mistake closer by adding suspend modifier to our first example of blocking func…

Claps from vishnupalaniswamy

See more

The reason to avoid GlobalScope

Roman Elizarov

Blocking threads, suspending coroutines

Roman Elizarov

Mastering Kotlin standard functions: run, with, let, also and apply

Elye