Removes the socket from room, and fires optionally a callback fn with err signature (if any)
Rooms are left autmoatically upon disconnection.
The mechanics of leaving rooms are handled by the Adapter that has been configured (see Server#adapter above), defaulting to socket.io-adapter
Removes the socket from
room, and fires optionally a callbackfnwitherrsignature (if any)Rooms are left autmoatically upon disconnection.
The mechanics of leaving rooms are handled by the
Adapterthat has been configured (seeServer#adapterabove), defaulting to socket.io-adapter