Lilly
09/07/2021, 11:55 PMwithIndex
, takeWhile
and takeIf
but it doesn't let me close the flow. I'm not sure but does takeWhile
close the flow if false is returned? Maybe a combination of multiple operators will do it. Any ideas?streetsofboston
09/08/2021, 1:04 AMtakeXxxx
operators for example.Andrea
09/08/2021, 1:12 AMonEach
{ `check`() } and the .catch
{}, but the check is applied to all values, not only the first one, unless it fails and the flow stops emitting. It could work if your first value type is unique and cannot be present in any other position.Joffrey
09/08/2021, 6:35 AMtakeWhile
does end the flow if the condition becomes false