Created
April 30, 2016 15:08
-
-
Save kevc/050b815c4c388d12074229733c838299 to your computer and use it in GitHub Desktop.
The interface required to define a Reactive Presentation Model
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
interface Model<I : Sources, O : Sinks> { | |
fun setUp(sources: I): O | |
fun tearDown() | |
interface Sources | |
interface Sinks | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment