Appends a new participant request and refreshes the combined request/waiting count.
Request payload and state setters.
Resolves after the request state is updated.
await participantRequested({ userRequest, requestList, waitingRoomList, updateRequestList: setRequestList, updateTotalReqWait: setTotalReqWait,}); Copy
await participantRequested({ userRequest, requestList, waitingRoomList, updateRequestList: setRequestList, updateTotalReqWait: setTotalReqWait,});
Appends a new participant request and refreshes the combined request/waiting count.