Skip to content

Instantly share code, notes, and snippets.

Created Feb 14, 2018
What would you like to do?
Create an observer
let signalObserver = Observer<Int, NoError> (
value: { value in
print("Time elapsed = \(value)")
completed: { print("completed") },
interrupted: { print("interrupted") })
Copy link

Czajnikowski commented Jul 10, 2019

Signal<Int, Never>.Observer can be used for ReactiveSwift v10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment