Skip to content

Instantly share code, notes, and snippets.

@kevc
Created April 30, 2016 15:08
Show Gist options
  • Save kevc/050b815c4c388d12074229733c838299 to your computer and use it in GitHub Desktop.
Save kevc/050b815c4c388d12074229733c838299 to your computer and use it in GitHub Desktop.
The interface required to define a Reactive Presentation Model
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