Overview
useSetRsvp returns a callable that sets or changes the logged-in user’s RSVP. The event’s rsvpCounts update atomically. A transition into going is capacity-checked. RSVPs close at startTime, are rejected on cancelled events, and "maybe" is rejected when allowMaybe is false.
Usage Example
Parameters
The event ID.
The RSVP response.
Returns
Returns aPromise<Event> — the Event with refreshed rsvpCounts and userRsvp.

