Instantly share code, notes, and snippets.

Embed
What would you like to do?
GetAllUsers().execute(
onSuccess: { (users: [User]) in
// Do something with the users. They are already typed!
},
onError: { (error: Error) in
// Do something with the error.
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment