Confirms the exit of a member from a room and optionally bans them.
const options = { socket: socketInstance, localSocket: localSocketInstance, member: "JohnDoe", roomName: "Room123", ban: true,};await confirmExit(options); Copy
const options = { socket: socketInstance, localSocket: localSocketInstance, member: "JohnDoe", roomName: "Room123", ban: true,};await confirmExit(options);
The options for confirming the exit.
A promise that resolves when the exit is confirmed.
Confirms the exit of a member from a room and optionally bans them.
Example