Posted on Leave a comment

Kotlin coroutines 2

How to pause a coroutine
09.2022 [https://medium.com/mobilepeople/how-to-pause-a-coroutine-31cbd4cf7815]
[https://github.com/Koitharu/pausing-coroutine-dispatcher]

GlobalScope

The reason to avoid GlobalScope
01.2019 [https://elizarov.medium.com/the-reason-to-avoid-globalscope-835337445abc] by Roman Elizarov

Coroutines & Patterns for work that shouldn’t be cancelled
[https://manuelvivo.dev/coroutines-cancellation-exceptions-4] by Manuel Vivo

Continue reading Kotlin coroutines 2
Posted on Leave a comment

Kotlin 1.8.0 Released

The Kotlin 1.8.0 release is out and here are some of its biggest highlights:

New experimental functions for JVM: recursively copy or delete directory content
Improved kotlin-reflect performance
New -Xdebug compiler option for better debugging experience
kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 merged into kotlin-stdlib
Improved Objective-C/Swift interoperability
Compatibility with Gradle 7.3

[https://blog.jetbrains.com/kotlin/2023/01/kotlin-1-8-0-released/]