In Scala, I have a class serverthat has a method, say getClients, that returns the currently connected clients.
I am not sure how to determine this:
getClientsclientsgetClients()clients()
The return value of this method changes over time when new clients connect or disconnect.
Which one to choose?
source
share