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

`Channel(CONFLATED)` is a pattern frequently used for signalling in coroutine-based environment. In cases when the channel already contains an element (e.g. receiver is delayed), calling `send` causes `Channel` to drop...

performance
waiting for clarification
channels

**kotlinx-coroutines-debug:1.8.0** This one appeared once when running Kotest in debug mode with `env KOTEST_DEBUG=true ./gradlew ...`: ``` reactor.blockhound.BlockingOperationError: Blocking call! jdk.internal.misc.Unsafe#park at app//io.kotest.extensions.blockhound.KotestBlockHoundIntegration.applyTo$lambda$2$lambda$1(KotestBlockHoundIntegration.kt:28) at app//reactor.blockhound.BlockHound$Builder.lambda$install$8(BlockHound.java:488) at reactor.blockhound.BlockHoundRuntime.checkBlocking(BlockHoundRuntime.java:89) at [email protected]/jdk.internal.misc.Unsafe.park(Unsafe.java) at...

bug

**Describe the bug** Currently, sources for the `kotlinx-coroutines-play-services` artifact aren't recognised, resulting in IntelliJ decompiling the Kotlin source-code when viewing the source of a method, for example the `Task.await()` method....

bug

I'm using a `ThreadContextElement` that sets value of a `ThreadLocal`. After resolving of #985 it worked perfectly. But after upgrade to 1.5.0 I've got a similar problem: sometimes the last...

bug
for 1.8

Any usage of the `kotlinx.coroutines.debug` package, for example `import kotlinx.coroutines.debug.DebugProbes` results in: ``` [JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE] Symbol is declared in module 'kotlinx.coroutines.debug' which does not export package 'kotlinx.coroutines.debug' ``` The split package...

bug

**Describe the bug** When a TimeoutCancelationException occurs inside a flow it gets thrown and can be caught in the `catch` block. But if it is thrown in a flow that...

bug

**What do we have now?** Currently, [`CancellationException`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines.cancellation/-cancellation-exception/) inherits from `IllegalStateException`. My understanding is this was done to maintain compatibility with Java's `CancellationException`. **What should be done instead?** _Coroutines < 2.0.0_...

design

I am not sure if it is covered by https://github.com/Kotlin/kotlinx.coroutines/issues/2930, but to me steps look different Having the following code ``` val threadLocal = ThreadLocal() val stateFlow = MutableStateFlow(0) viewLifecycleOwner.lifecycleScope.launch...

bug

When running a testcase, it fails and in the stacktrace shows the following trace: kotlinx.coroutines.test.UncaughtExceptionsBeforeTest: There were uncaught exceptions before the test started. Please avoid this, as such exceptions are...

bug
waiting for clarification
test