Skip to content

Commit

Permalink
Adds explanation what subscribe closure is being referred to.
Browse files Browse the repository at this point in the history
  • Loading branch information
kzaher committed Dec 12, 2016
1 parent 44cee53 commit 861f083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Schedulers.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sequence1

If you want to start sequence generation (`subscribe` method) and call dispose on a specific scheduler, use `subscribeOn(scheduler)`.

In case `subscribeOn` isn't explicitly specified, the `subscribe` method will be called on the same thread/scheduler on which `subscribe(onNext:)` or `subscribe` is called.
In case `subscribeOn` isn't explicitly specified, the `subscribe` closure (closure passed to `Observable.create`) will be called on the same thread/scheduler on which `subscribe(onNext:)` or `subscribe` is called.

In case `subscribeOn` isn't explicitly specified, the `dispose` method will be called on the same thread/scheduler that initiated disposing.

Expand Down

0 comments on commit 861f083

Please sign in to comment.