kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Introduce Flow.any, Flow.all, Flow.none

Open CLOVIS-AI opened this issue 1 year ago • 1 comments
trafficstars

As discussed in #4212.

This is my first proper contribution to Coroutines, so please be nice :)

At this stage, my goals are: • Optimal API surface • Correctness

I have not made any attempts to improve performance. In particular, I wouldn't be surprised if any could be improved. I believe all and none are optimal.

CLOVIS-AI avatar Oct 14 '24 21:10 CLOVIS-AI

I took inspiration from other tests, which seem to use expect(Int) and finish(Int), but I'm not completely sure what they're for nor how to use them, so I didn't. Please let me know if they are necessary.

CLOVIS-AI avatar Oct 14 '24 21:10 CLOVIS-AI

@CLOVIS-AI would you like to continue this PR or should we handle it from here?

qwwdfsad avatar Nov 22 '24 19:11 qwwdfsad

I would love to, but sadly my schedule doesn't allow me too… Feel free to make the changes you want if I'm too slow :)

CLOVIS-AI avatar Nov 25 '24 09:11 CLOVIS-AI

Closed in favor of #4304

dkhalanskyjb avatar Dec 19 '24 11:12 dkhalanskyjb