Created
July 15, 2018 18:25
-
-
Save twittemb/66342ceb65e2db361a9eb763a0f88970 to your computer and use it in GitHub Desktop.
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
| public protocol Action { | |
| func toAsync () -> Observable<Action> | |
| } | |
| extension Action { | |
| public func toAsync () -> Observable<Action> { | |
| return Observable<Action>.just(self) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment