Creating multiple rooms using a single server

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By snesgx

I’m creating a server to host multiple game rooms, for that I have to use “rpc_id” to make calls just to the peers in a specific room like this:

for clientInLobby in clientsPerLobby[lobbyID].keys():
	rpc_id(clientInLobby,"some_remote_func", some_data)

I’m worried about performance, is rpc_id an async call?, or every call waits for the peer?

Thanks.