Updates the waiting room participants list and the total count of waiting room participants.
const participants = [ { name: "Alice", waitingSince: "10:30" }, { name: "Bob", waitingSince: "10:35" },];await allWaitingRoomMembers({ waitingParticipants: participants, updateWaitingRoomList: setWaitingRoomParticipants, updateTotalReqWait: setTotalWaitingRequests,}); Copy
const participants = [ { name: "Alice", waitingSince: "10:30" }, { name: "Bob", waitingSince: "10:35" },];await allWaitingRoomMembers({ waitingParticipants: participants, updateWaitingRoomList: setWaitingRoomParticipants, updateTotalReqWait: setTotalWaitingRequests,});
The options object.
A promise that resolves when the updates are complete.
Updates the waiting room participants list and the total count of waiting room participants.
Example