Comparing Lazy Execution in `yield*` vs `flatMap` for Time-Sensitive Operations
Can anyone confirm that
yield*
yield*
and
flatMap
flatMap
work differently in terms of lazy execution?
I’m doing some time-sensitive operations and I think things are falling over because of some
Effect.sleep
Effect.sleep
calls cause some earlier yielded effects to become invalid. Hoping that composing them with flatMap will just build a pipeline that stays lazy until yielded.