enter_room & leave_room in multiple nodes #988
-
|
Continuing the discussion that I recently created #973. nA executed sio_server.enter_room(
sid=sid_user_1,
room=bot_agent_1,
namespace=GAME_NAMESPACE,
)nB executed sio_server.enter_room(
sid=sid_user_1,
room=bot_agent_2,
namespace=GAME_NAMESPACE,
)Then, nC executes sio_sever.emit(
key,
response,
namespace=GAME_NAMESPACE,
room=bot_agent_1,
)
sio_sever.emit(
key,
response,
namespace=GAME_NAMESPACE,
room=bot_agent_2,
)Will the client P.S I will be grateful for any help in these matters! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Unfortunately this is currently not supported. You can only call |
Beta Was this translation helpful? Give feedback.
-
|
@miguelgrinberg There is the way to make the other instance give information about the |
Beta Was this translation helpful? Give feedback.
Unfortunately this is currently not supported. You can only call
enter_roomin an event handler for the affected user. If you enter a user to a room from a node that does not know the user then the call will be ignored.