Hi Louis,
The scanChannel extension function currently returns a Channel. Do you think a Flow might be more suitable here?
I'm new to channels/flows/coroutines, so my understanding may not be correct. A Flow would allow more flexibility in when scanning should actually start - e.g. only after the user calls collect.
Current API works fine for my needs, but I was curious about your thoughts.
Thanks.
Hi Louis,
The
scanChannelextension function currently returns aChannel. Do you think aFlowmight be more suitable here?I'm new to channels/flows/coroutines, so my understanding may not be correct. A
Flowwould allow more flexibility in when scanning should actually start - e.g. only after the user callscollect.Current API works fine for my needs, but I was curious about your thoughts.
Thanks.