Skip to content

Commit abfb2b8

Browse files
committed
add demo
1 parent 3ac7ac0 commit abfb2b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/main/java/scut/carson_ho/rxjava_operators/MainActivity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ public void subscribe(ObservableEmitter<Integer> e) throws Exception {
3131

3232
e.onNext(2);
3333

34-
Thread.sleep(1500);
34+
Thread.sleep(500);
3535

3636
e.onNext(3);
37-
Thread.sleep(1500);
37+
Thread.sleep(4500);
3838

3939
e.onNext(4);
40-
Thread.sleep(500);
40+
Thread.sleep(1500);
4141
e.onNext(5);
42-
Thread.sleep(500);
42+
Thread.sleep(1500);
4343
e.onNext(6);
4444
Thread.sleep(1500);
4545

0 commit comments

Comments
 (0)