Skip to content

Instantly share code, notes, and snippets.

@hsusmita hsusmita/Signal3.swift Secret
Created Feb 14, 2018

Embed
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") })
output.observe(signalObserver)
@Czajnikowski

This comment has been minimized.

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
You can’t perform that action at this time.