diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-01-20 13:32:07 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-01-20 13:32:07 +0100 |
commit | 07cbe6495aa66470d56030a6d430808f927176e7 (patch) | |
tree | 6408aab717e300544d6adf0878c55d7c1564c565 /src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt | |
parent | 2118dc75207d80eec33de8dc6241b962416c608e (diff) | |
download | kvision-07cbe6495aa66470d56030a6d430808f927176e7.tar.gz kvision-07cbe6495aa66470d56030a6d430808f927176e7.tar.bz2 kvision-07cbe6495aa66470d56030a6d430808f927176e7.zip |
Fix tabulator module dependencies
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt b/src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt index f1cba7f0..c1fd0936 100644 --- a/src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt +++ b/src/main/kotlin/pl/treksoft/kvision/state/ObservableState.kt @@ -26,6 +26,11 @@ package pl.treksoft.kvision.state */ interface ObservableState<S> { /** + * Get current state. + */ + fun getState(): S + + /** * Subscribe for the state change notifications. */ fun subscribe(observer: (S) -> Unit): () -> Unit |