Created
September 4, 2016 19:53
-
-
Save lizixroy/a8cf963a668da0c3db56d415d5d55e15 to your computer and use it in GitHub Desktop.
RxSwift-article-7.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @warn_unused_result(message="http://git.io/rxs.ud") | |
| func subscribeSafe<O: ObserverType where O.E == E>(observer: O) -> Disposable { | |
| return self.asObservable().subscribe(observer) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment