The options for confirming the exit.
OptionallocalSocket?: Socket<DefaultEventsMap, DefaultEventsMap>Optionalban?: booleanOptionalendRoomOnHostExit?: booleanWhether a host exit should end the room for everyone. Defaults to true.
A promise that resolves when the exit is confirmed.
Confirms the exit of a member from a room and optionally bans them.