mirror of
https://github.com/moroshko/rxviz.git
synced 2026-02-01 17:26:52 +00:00
Simplify "Pause and resume" example
This commit is contained in:
parent
d68780d326
commit
aca0933496
@ -146,10 +146,7 @@ Rx.Observable
|
||||
.scan(acc => !acc, true)
|
||||
.startWith(true);
|
||||
|
||||
const counter$ = Rx.Observable
|
||||
.interval(1000)
|
||||
.map(n => n + 1)
|
||||
.startWith(0);
|
||||
const counter$ = Rx.Observable.timer(0, 1000);
|
||||
|
||||
const empty$ = Rx.Observable.empty();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user