diff --git a/Rx.playground/Pages/Introduction.xcplaygroundpage/Contents.swift b/Rx.playground/Pages/Introduction.xcplaygroundpage/Contents.swift index 5b27223a..9dbe3d3a 100644 --- a/Rx.playground/Pages/Introduction.xcplaygroundpage/Contents.swift +++ b/Rx.playground/Pages/Introduction.xcplaygroundpage/Contents.swift @@ -51,7 +51,7 @@ _/* : Observable*/ = Observable.create { observerOfString -> Dis However, the closure in the following is called: */ -_/* : Observable*/ = Observable.create { observerOfString -> Disposable in +_/* : Disposable*/ = Observable.create { observerOfString -> Disposable in print("Observable creation") observerOfString.on(.Next("😉")) observerOfString.on(.Completed) @@ -61,7 +61,9 @@ _/* : Observable*/ = Observable.create { observerOfString -> Dis /*: - The subscription will be present in the whole Rx.playground. + So the *subscription* will be present in the whole Rx.playground to prove cases. + + > One note to add: It can be seen that the entity returned by `subscribe` is a `Disposable`. In the whole Rx.playground it is not asigned but in a real use case (normaly in most cases) it should be added to a DispodeBag. You can find more information about this in section *Disposing* of *GettingStarted.md* in *Documentation* directory. */