Skip to content

Aggregates

Luis Llamas edited this page Apr 24, 2019 · 8 revisions

Aggregates operators are Hot observers, they emit as soon as a new item is received.

If you are interested in perform in a whole collection, consider combine with Last() operator if needed.

Count

Count the items received.

Count()

Sum

Sum the items received.

Sum()

Min

Minimium of the items received.

Min()

Max

Maximum of the items received.

Max()

Average

Average of the items received.

Average()

Any

Return true if any of the received items satisfy a condition.

Any(ReactiveCondition<T> condition)

All

Return true if all of the received items satisfy a condition.

All(ReactiveCondition<T> condition)

None

Return true if none of the received items satisfy a condition.

None(ReactiveCondition<T> condition)
Clone this wiki locally