tornadofx / tornadofx / kotlin.collections.Map / asObservable

asObservable

fun <K, V> Map<K, V>.asObservable(): ObservableMap<K, V>

Returns a new ObservableMap that is backed by the original map.

Note: If the original map is read-only, attempting to modify the returned map will result in an UnsupportedOperationException