No, not necessary. By the way, if customerService ...
# tornadofx
e
No, not necessary. By the way, if customerService does time consuming stuff like writing to a database or performing a rest call, it should be wrapped in a
runAsync
block. In that case, som people think it becomes too much code inside the button handler. I will update the example to show the best practic in that case.