Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using Wrapped Asynchronous Function with ReactiveSwift
// Simple Use of Asynchronous ReactiveSwift Function
wrappedFunction().startWithResult { result in
if let returnedString = result.value {
print(returnedString)
} else if let returnedError = result.error {
print(returnedError)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment