Created
January 29, 2018 21:30
-
-
Save fabiothiroki/d7be1df17368d835039456d0156ca994 to your computer and use it in GitHub Desktop.
Actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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