vitaly-t / iter-ops

Basic operations on iterables
https://vitaly-t.github.io/iter-ops
MIT License
136 stars 5 forks source link

takeUntil takes iterates to one more elements #225

Closed vitaly-t closed 1 year ago

vitaly-t commented 1 year ago

Similar to #224 issue, operator takeUntil internally rotates to the next element, which it shouldn't.

This is a non-frequent issue, but still needs to be fixed.

vitaly-t commented 1 year ago

This was open by mistake...

Operator takeUntil has to take the next value, to get its value evaluated, there is no way around it.

Therefore, closing.