timeInterval
Last updated
Last updated
timeInterval(scheduler: *): Observable<TimeInterval<any>> | WebSocketSubject<T> | Observable<T>
Example 1: Time between mouse clicks
( StackBlitz )
timeInterval 📰 - Official docs
📁 Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeInterval.ts