Skip to content

Commit bb3b866

Browse files
committed
4.1 Improved phrasing
1 parent 643be67 commit bb3b866

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
@@ -162,7 +162,7 @@ This is very useful if you, as the consumer of an observable, know that processi
162162

163163
### unsubscribeOn
164164

165-
As we have seen, some observables depend on resources which are leased on subscription and released when subscriptions end. Typically, releasing resources is cheap, but there can be cases where releasing a resource may require ceremony, e.g. coordinating over a network. If you need control over the thread that will execute the unsubscription code, you can define that with the `unsubscribeOn` method.
165+
As we have seen, some observables depend on resources which are leased on subscription and released when subscriptions end. Typically, releasing resources is cheap. In exceptional cases, where you need the unsubscription actions to not block, you can specify the scheduler that will execute those actions with `unsubscribeOn`
166166

167167
```java
168168
Observable<Object> source = Observable.using(

0 commit comments

Comments
 (0)