Here is an example of complete decoupling between ...
# tornadofx
e
Here is an example of complete decoupling between controller and View. The View fires the
GiveMeData
event to say that it want's data. The Controller subscribes to this events and fires a
MyDataEvent
when it retrieves it. There is no need to think about threading, the data will be retrieved on a background thread automatically.