kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Library support for Kotlin coroutines

Results 367 kotlinx.coroutines issues
Sort by recently updated
recently updated
newest added
trafficstars

This PR contains the API that is aimed to solve the problem of debugger stepping inside one coroutine. **The initial task:** the debugger should be able to step inside one...

The following code hangs forever on the call to `mutex.unlock()`: ```kt val mutex = Mutex() (mutex as Semaphore).aquire() println("locked: ${mutex.isLocked}") mutex.unlock() println("unlocked: ${!mutex.isLocked}") ``` The reason seems to be that...

bug

Hello: This is Alan from the Android Studio Live Edit team. I am looking at a reported issue with related [coroutine and Live Edit](https://issuetracker.google.com/issues/269627284#comment14). **Describe the bug** You can find...

question
android

I see the 1.8.0RC add the method flattenMerge for flatten flows,so I want know that if there has some stateFlow in one StateFlow: like this ``` val stateFlowParent:StateFlow ... stateFlowParent...

enhancement

**Describe the bug** The primary crash in our Kotlin Multiplatform project is related to the following force cast in `DispatchedTask.kt`: ``` final override fun run() { assert { resumeMode !=...

enhancement
docs
native

## Use case Any hot flow of limited size, or unlimited flow that can complete abnormally. Examples: * A pipeline driven by external source (say, a streaming HTTP request parser...

enhancement
flow

Recently I've come across the flow docs and noticed one example output isn't displayed in the online version. In the source file the output is present but hidden inside an...

https://github.com/Kotlin/kotlinx.coroutines/issues/3613 uncovered the whole new class of bugs for coroutines: infinite CPU-intensive spin-loops during "unexpected" exceptions at the core of the implementation. While this particular bug was addressed mechanically (#3634),...

enhancement

**Describe the bug** `SendChannel.trySendBlocking()` hangs the calling thread indefinitely when an unbuffered callbackFlow channel closes. Instead I expect `trySendBlocking()` to fail with an appropriate channel-related exception in a timely fashion...

question
channels

For now, it takes up to 8 hours, gobbling our TC agent pool and failing by timeout