python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
std::coroutine_handle<Promise>::done() returning unexpected value
I am trying to write a simple round-robin scheduler for coroutines. My simplified code is the following:
Generator<uint64_t> Counter(uint64_t i) {
for (int j = 0; j < 2; j++) {
co_yield...
Jack Humphries
Votes: 0
Answers: 1
Thread underneath coroutineScope does not stop
i have an issue with stopping coroutine Thread. i don't have deep knowledge of Coroutines, correct me if i am wrong in any part, but i was not able to find the solution anywhere.
The issue which i am ...
Giorgi Odishvili
Votes: 0
Answers: 1
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object kotlinx.coroutines.flow.FlowCollector.emit
Crash as soon as flow emits its first value.
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object kotlinx.coroutines.flow.FlowCollector.emit(java.lang.Object, kotlin.co...
Andrew
Votes: 0
Answers: 1
what is Best practices for designing asynchronous task in this case( in kotlin, coroutine or thread)
my android app need to call more than 10 APIs at the same time.
this call api's is use other library it made in other teams
and result receive by listener in JsonString format.
this multiple calling ...
LeeBaeng
Votes: 0
Answers: 0