takeWhileNotEmpty

Returns a flow of EventResults that is composed of the events emitted by the original Flow until an event of type StandardEventResult.Empty is encountered.

Return

a flow of EventResults excluding the events of type StandardEventResult.Invalid.