<@U5UU34LPK>' proposal is nice. ``` buildSequence ...
# announcements
m
@karelpeeters' proposal is nice.
Copy code
buildSequence {
  yieldAll(heavySourceA())
  yieldAll(heavySourceB())
}.find { it == "MyString" }
heavySourceB
won't be called if
find
stops in the list given by
heavySourceA
. The
buildSequence
coroutine will suspend while iterating over
heavySourceA
.
🙂 1