RotateCalendarUrl
Function: rotateCalendarUrl()
[object Object]
Defined in: components/Calendar/PersonalCalendarTile/PersonalCalendarTile.handlers.tsx:59
Regenerates the personal calendar feed URL, immediately invalidating the previous one.
This is the only way to revoke a URL that has been shared or leaked, so any calendar application still subscribed to the old URL will stop receiving updates and must be pointed at the new one.
Parameters
setUrl
(url) => void
State setter receiving the new feed URL.
setRotating
(rotating) => void
Callback toggling the rotating state.
Returns
Promise<void>