Skip to content

Commit e18023a

Browse files
committed
typo
1 parent f533c04 commit e18023a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part 4 - Concurrency/1. Scheduling and threading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Finished main: 1
7777

7878
We see here that, not only is everything executed on the same thread, it is actually sequential: `subscribe` does not unblock until it has completed subscribing to (and thus creating) the observable, which includes executing the body of `create`'s lambda parameter. The calls to `onNext` within that lambda execute the entire chain of operators, all the way to the `println`. Effectively, subscribing on a `create`d observable is blocking.
7979

80-
If you uncomment `.subscribeOn(Schedulers.newThread())`, the [Output](/tests/java/itrx/chapter4/scheduling/SubscribeOnExample.java) now is
80+
If you uncomment `.subscribeOn(Schedulers.newThread())`, the [output](/tests/java/itrx/chapter4/scheduling/SubscribeOnExample.java) now is
8181
```
8282
Main: 1
8383
Finished main: 1

0 commit comments

Comments
 (0)