We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5801a5a commit bf30f68Copy full SHA for bf30f68
kotlinx-coroutines-core/common/src/flow/operators/Delay.kt
@@ -469,7 +469,7 @@ private fun <T> Flow<T>.timeoutInternal(
469
values.onReceiveOrNull { value ->
470
if (value !== DONE) {
471
if (value === TIMEOUT) {
472
- action(downStream)
+ downStream.action()
473
values.cancel(ChildCancelledException())
474
return@onReceiveOrNull false // Just end the loop here. Nothing more to be done.
475
}
0 commit comments