kotlinx.coroutines v1.6.0-RC2 Release Notes

    • @ExperimentalTime is no longer needed for methods that use Duration (#3041).
    • ๐Ÿšš FlowCollector is now fun interface, and corresponding inline extension is removed (#3047).
    • ๐Ÿ›  Fixed the exception handler being invoked several times on Android, thanks to @1zaman (#3056).
    • โœ… The deprecated TestCoroutineScope is no longer sealed, to simplify migration from it (#3072).
    • โœ… runTest gives more informative errors when it times out waiting for external completion (#3071).
    • SendChannel.trySendBlocking is now available on Kotlin/Native (#3064).
    • ๐Ÿ›  Fixed the bug due to which Dispatchers.Main was not used for delay and withTimeout (#3046).
    • ๐Ÿ— JDK 1.6 is no longer required for building the project (#3043).
    • ๐Ÿ†• New version of Dokka is used, fixing the memory leak when building the coroutines and providing brand new reference visuals (https://kotlinlang.org/api/kotlinx.coroutines/) (#3051, #3054).