Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Actions
struct FetchPlacesAction: Action {}
struct SetPlacesAction: Action, Equatable {
let places: LocationPlaces
static func == (lhs: SetPlacesAction, rhs: SetPlacesAction) -> Bool {
return lhs.places == rhs.places
}
}
struct SetErrorAction: Action {
let error: Error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment