Instantly share code, notes, and snippets.

@kevc /RPM.kt
Created Apr 30, 2016

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