Last active
February 2, 2021 07:21
-
-
Save micHar/4edde324474d758cc5b90852b2e8e89f 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
| createPublisher(wrapper: loadUserUseCase.loadUser(username: "noone special")) | |
| .sink( | |
| receiveCompletion: { completion in | |
| print("Completion: \(completion)") | |
| }, | |
| receiveValue: { user in | |
| print("Hello from the Kotlin side \(user?.name)") | |
| } | |
| ) | |
| .store(in: &cancellables) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment