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

I wanted to use channel with buffer but was disappointed to find out that it doesn't work as expected. When I use a channel with **capacity = 1**, like this:...

bug
channels
for 1.7

This [page](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-slf4j/kotlinx.coroutines.slf4j/-m-d-c-context/index.html) mentions that there is a way to update MDC within coroutine so updated values would propagate back to the parent context's MDC, but it lacks real code example...

docs

At the moment, `Deferred.getCompleted()` and `Deferred.getCompletionExceptionOrNull()` are experimental and marked with `@ExperimentalCoroutinesApi`. The functions above are useful for polling and accessing the deferred result from a non-suspend context where it's...

enhancement

It's a mere copy/paste from jvm sources + 2 common tests to showcase how `ThreadContextElement` can be used (similar to Compose Runtime needs). It's desirable to have some common CoroutineContext.Element...

We need to integrate ticker channels into a structured concurrency story to make sure they are not lost running forever. They should be somehow marked as "daemon" (?) children of...

enhancement
flow
flow-timer

I've been trying to figure out why this code freezes on Android (when started on the main thread): ``` runBlocking { Log.i("test", "start runBlocking") withContext(Dispatchers.Main.immediate) { Log.i("test", "start Main.immediate context")...

The Android-JAR plugin works based on the following principles: * can be added to a project with both plugins: `java-library` and `maven-publish` * creates 2 new configurations: `aarRuntime` and `aarApi`...

A common problem often appears when writing applications with a state flow in cases when a state is quite a big object, for example some kind of a list of...

design
flow

When I run this example https://kotlinlang.org/docs/shared-mutable-state-and-concurrency.html#volatiles-are-of-no-help it regularly returns the exact amount, 100000. See also: https://old.reddit.com/r/Kotlin/comments/v4j01h/volatile_works_in_coroutine/ This seems to happen more often when I run the code on my mobile......