Skip to content

Instantly share code, notes, and snippets.

@kevc
Created April 30, 2016 15:08
Embed
What would you like to do?
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