Last active
June 27, 2019 11:19
-
-
Save mecid/4c278b8b610eb588982121ffecb2d7b4 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
let subject = CurrentValueSubject<String, Never>("Hello") | |
subject.sink { value in print(value) } | |
subject.send("World") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment