Remove consecutive identical values from an Event.
Lazily take n
values from changes
.
Take the first n
states of the provided activity.
Take the first n
states of the provided activity.
If dedupe
is set to true, consecutive identical (e.g. Pending) states will
collapsed to a single event.