Posts List

Using the synchronized keyword in coroutines?

Using the synchronized keyword in coroutines?

Working with coroutines is subtly different from normal locking functions. Introduce some thread-safety with mutex.

Escaping Callback Hell with Generic SuspendCoroutine Infix Extension Functions

Escaping Callback Hell with Generic SuspendCoroutine Infix Extension Functions

Callback hell happens all the time in Android. Luckily, with coroutines, there’s an easy way out.