Coroutines in Kotlin as Async processes
Learn about coroutines in Kotlin framework on mobile. By splitting 1 task into two asynchronous processes we could use inter-thread communication to provide much more sufficient way of doing certain tasks.
Read on tread-safe operation and not thread-safe functions. Do a comparison between the solutions and learn why coroutines isn't always a best solution and what are the costs of using it in your application.
"Recently, I stumbled upon one of Baeldung’s post showing how to use threads to print odd and even numbers: one thread dedicated to print odd numbers, another one to print even ones. Since ..."