Created
January 25, 2019 04:39
-
-
Save djds23/3cecadcc7b4f62c144b8369ee67dd7fe to your computer and use it in GitHub Desktop.
This file contains 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
func simpleCombineStreams( | |
resource: Observable<Bool>, | |
buttonTap: Observable<Void> | |
) -> Observable<Bool> { | |
return buttonTap | |
.withLatestFrom(resource) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment