Skip to content

Instantly share code, notes, and snippets.

@kevc
Created April 30, 2016 15:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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