Skip to content

Commit c662413

Browse files
committed
Improved phrasing
1 parent 13fe3bc commit c662413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part 2 - Sequence Basics/1. Creating a sequence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Output
9797
1431443908375
9898
```
9999

100-
Notice how the two subscribers, 1 second apart, see the same time. That is because the value for the time aquired once, when the observable is created. What you want is for the time to be aquired when a subscriber asks for it.
100+
Notice how the two subscribers, 1 second apart, see the same time. That is because the value for the time is aquired once: when execution reaches `just`. What you want is for the time to be aquired when a subscriber asks for it by subscribing. `defer` takes a function that will executed to create the observable. The function will be executed for every subscription.
101101

102102
```java
103103
Observable<Long> now = Observable.defer(() ->

0 commit comments

Comments
 (0)