Is it possible to have generic event like this? `c...
# tornadofx
a
Is it possible to have generic event like this?
class OpenWindowEvent<T: View>(val windowClass: KClass<T>) : FXEvent()
I can't figure out how to subscribe to it. Looks like I can subscribe only separately for each type, like
subscribe<OpenWindowEvent<MyView>>