Skip to content

Instantly share code, notes, and snippets.

@hsusmita hsusmita/Signal3.swift Secret
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") })

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.