Calculate the sum of numbers emitted by an Observable and emit this sum.
SumFloat32
SumFloat64
SumInt64
observable := rxgo.Just(1, 2, 3, 4)().SumInt64()
Output:
10
Calculate the sum of numbers emitted by an Observable and emit this sum.
SumFloat32
SumFloat64
SumInt64
observable := rxgo.Just(1, 2, 3, 4)().SumInt64()
Output:
10