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

Add "scanNotNull" function to Flow extension

Open UdaraWanasinghe opened this issue 1 year ago • 0 comments

Adds feature #3806 This adds the "scanNotNull" function as an extension to the Flow class. The "scanNotNull" function allows folding the flow's values using a provided operation and emitting every intermediate non-null result. It skips emitting any intermediate results that are null, ensuring only non-null results are included in the resulting flow.

UdaraWanasinghe avatar Jul 13 '23 06:07 UdaraWanasinghe