kotlinx.coroutines
kotlinx.coroutines copied to clipboard
Library support for Kotlin coroutines
Thread names in logs output by modules that use coroutines are not consistent with other modules.
It would be great if `window.fetch` supported cancellation via `AbortController`: https://developer.chrome.com/blog/abortable-fetch. I would expect that if coroutine is canceled, then `fetch` should be canceled as well automatically. In other words,...
``` *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> com.-
Introduce new `CancellableContinuation.resume` with `onCancellation` lambda that takes the resumption value, cause, and the coroutine context as arguments
Primitive, which distributes permits at the fixed rate or suspends current coroutine until it's available. Such primitive is useful in a lot of server-side application to throttle requests to external...
Fixed grammar and some wording issues in flow.md
Currently, ThreadContextElement interface is available only for jvm and it has 2 functions: 1st invoked before a coroutine is resumed, 2nd invoked after that coroutine is suspended. These functions should...
Hi! I'm no Kotlin expert, just noticed a confusing detail on the [Select expression](https://kotlinlang.org/docs/select-expression.html#selecting-from-channels) docs page: There's a runnable example, which, when clicking on the play button, produces output: ```...