Is there actually needed? Event handlers are usually just simple callbacks. You do not need coroutines for them, especially with builders like in TornadoFX.
altavir
08/07/2019, 2:28 PM
Property are designed to avoid listening to change events directly. Anyway, listening with a flow, takes about three lines of code. You can probably contribute it yourself.
g
gildor
08/07/2019, 2:31 PM
I agree, it may be useful, rective source is much more powerful if you combine multiple sources, filter, share etc
âž• 2
gildor
08/07/2019, 2:33 PM
probably Alexander means that you just pass property to some ui component and shouldn’t listen changes directly
gildor
08/07/2019, 2:34 PM
but still sometimes it may have sense, also expose Flow as Property would be nice
a
altavir
08/07/2019, 2:35 PM
Usually, you just bind a property to another property. I worked a lot with JavaFX and It is quite rarely that I use raw events.
altavir
08/07/2019, 2:36 PM
OK, I won't argue. Still it is very easy to add.
altavir
08/07/2019, 2:43 PM
Well, it already has a module for that, so why not.