workadventure/back/src/Model
David Négrier e934015d87 Refactoring searchClientById
searchClientById was scanning through all open sockets to find the right one (which is inefficient if we have many).
Instead, I created a new Map that directly maps ids to sockets.
Furthermore, this solves a long-standing issue (when a socket is disconnected, we cannot find it anymore in the sockets list but it is still available in the disconnect callback from the map)
As a result, we should not have any remaining circles any more.
2020-05-18 18:33:04 +02:00
..
Websocket Removing broken import 2020-05-16 15:51:00 +02:00
Distance.ts blocked on some logic...WIP commit 2020-04-08 20:40:44 +02:00
Group.ts Merge 2020-05-03 17:47:54 +02:00
PositionInterface.ts Switching connection to a barycenter approach 2020-04-29 22:41:48 +02:00
UserInterface.ts unit test on connect is working, lets start the worst .... 2020-04-09 23:26:19 +02:00
World.ts Refactoring searchClientById 2020-05-18 18:33:04 +02:00