Skip to content

Instantly share code, notes, and snippets.

@djds23
Created February 4, 2019 15:20
Show Gist options
  • Save djds23/0c3424a24486dcabf7072928da7e761d to your computer and use it in GitHub Desktop.
Save djds23/0c3424a24486dcabf7072928da7e761d to your computer and use it in GitHub Desktop.
enum TrainLine { … }
enum TrainStation { … }
protocol TrainNetworkHandler {
func departureTime(forLine: TrainLine, departingFrom: TrainStation) -> Observable<Date>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment