Open
Description
Unlike similar operator in Combine
the throttle
's latest
parameter is confusing, as it does not emit any latest, but a next element instead.
When latest
parameter is set to true
Actual behavior:
The throttle emits the next element from the base sequence, if any, after the interval occurs.
Meaning if there's no new elements emitted after the interval occurrence, the latest element is just skipped, leading to only the first element being emitted.
Expected behavior:
The throttle emits the latest cached element instantly when the interval occurs.
Metadata
Metadata
Assignees
Labels
No labels