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

* Migrate to https://www.jetbrains.com/help/teamcity/github-checks-trigger.html from commit-status-publisher to properly handle branch protection rules * Figure out what is happening with our stress test configuration or remove it completely -- right now,...

build

```kotlin import kotlinx.coroutines.* import kotlin.coroutines.* object MyDispatcher: CoroutineDispatcher() { override fun dispatch(context: CoroutineContext, block: Runnable) { println(context) block.run() } } fun main() { val newDispatcher = MyDispatcher.limitedParallelism(2) newDispatcher.dispatch(CoroutineName("Hi!"), Runnable {...

bug

Reproducer: ```kotlin @Test fun testProbes() = runBlocking { val b1 = CompletableDeferred() val b2 = CompletableDeferred() println("runBlocking context: ${currentCoroutineContext()}") launch { // in the context of runBlocking withContext(Dispatchers.IO + CoroutineName("A"))...

design
debug

This could be done fairly easily: ```kotlin suspend fun Flow.toPersistentList() = emptyPersistentHashList().mutate { toList(it) } ``` ```kotlin public suspend fun Flow.toMap(destination: M): M { collect { (key, value) -> destination[key]...

enhancement

We got a report of coroutines failing to finish when an OOM happens. The internal link is https://youtrack.jetbrains.com/issue/IJPL-172305, and here is the relevant part of the stacktrace: ``` kotlinx.coroutines.CoroutinesInternalError: Fatal...

Currently, names of all threads that belong to `CoroutineScheduler` (`Dispatchers.Default`, `Dispatchers.IO` and `Dispatchers.IO.limitedParallelism(...)` are named `DefaultDispatcher-worker-*` which might be quite confusing to look at in thread dumps (i.e. it's possible...

enhancement

# What is `DefaultExecutor`? `DefaultExecutor` is a strange thread that is available out-of-the-box with `kotlinx-coroutines` on the Kotlin/JVM and Kotlin/Native implementations (JS and Wasm are not important for this discussion)...

bug
design