mean
Description
Examples
Basic Example
import { from } from 'rxjs';
import { mean } from '@bottlenose/rxstats';
const mean$ = from([1, 2, 3, 4]).pipe(
mean()
);
mean$.subscribe(console.log);
// 1
// 1.5
// 2
// 2.5API
Since
Parameters
Options
Returns
More Examples
Skipping the first value
Warm Start
Using Hotstarts to aggregate multiple streams
Last updated