I am trying to figure out when to add a MessageHandler instead of just using @OnMessage method. I thought I'd read something about multithreading but I can't find it again. So far I can't think of any situation where an own implementation of a MessageHandler would make sense. So, those are the two source codes:
So, when would you which version and why?
You didn't tell me he was so big. Unlike this tiny ad: