Top "Coroutine" questions

Coroutines are a general control structure whereby flow control is cooperatively passed between two different routines without returning.

How to call Kotlin suspending coroutine function from Java 7

I'm trying to call Kotlin function from Java 7. I'm using coroutines and this called function is suspending, for example: suspend …

java android kotlin coroutine kotlinx.coroutines
Can I take advantage of Kotlin's Coroutines by using them in Java code?

What's my goal? My goal is to be able to use Kotlin's Coroutine system from Java. I want to be …

java kotlin coroutine
Using kotlinx.coroutines in IntelliJ IDEA project

I am trying to learn coroutines and so I fire up IntelliJ and create a scratch file. But when I …

kotlin coroutine kotlinx.coroutines
how to static link with clang libc++

I just wrote a test code for coroutine in c++2a. I build the code with clang 5.0 with: clang++ testcoroutine.…

c++ clang coroutine libc++
Can "experimental" Kotlin coroutines be used in production?

Can Kotlin coroutines be used in production, and what does their experimental status mean?

kotlin coroutine kotlin-coroutines
How to shutdown the loop and print error if coroutine raised an exception with asyncio?

Suppose I have a few coroutines running in a loop. How to make so that if some of them failed …

python python-asyncio coroutine
Turn functions with a callback into Python generators?

The Scipy minimization function (just to use as an example), has the option of adding a callback function at each …

python generator coroutine
Kotlin coroutines handle error and implementation

Using coroutines for the first time. Need help. Here is my flow: Presenter wants to login so calls Repository Interface. …

android kotlin coroutine kotlinx.coroutines
Is it safe to yield from within a "with" block in Python (and why)?

The combination of coroutines and resource acquisition seems like it could have some unintended (or unintuitive) consequences. The basic question …

python resources coroutine
Unresolved reference: async in Kotlin in 1.3

I have multi module kotlin gradle project in github here. One of my sub project introducing-coroutines with build file build.…

kotlin coroutine kotlinx.coroutines kotlin-extension