removeAllMembers
removeAllMembers
- removeAllMembers():
Promise<void>
Removes all the members from this room session. The room session will end.
Returns
Promise<void>
Example
In this example, we wait for a room to start and then remove all the members from that room
after 5 seconds. This example assumes that there is a RoomSession
already active and that members are joining the room.