Overview
useCancelEvent returns a callable that cancels an event by setting its status to "cancelled". Host-only. The event stays fetchable but rejects new RSVPs. When the notifications bundle is enabled, all going/maybe attendees receive an event-cancelled notification.
Usage Example
Parameters
The event to cancel.
Returns
Returns aPromise<Event> — the Event with status: "cancelled".

