Skip to main content

Function: getUpdateNotificationPreferencesChannel()

getUpdateNotificationPreferencesChannel(): "update-notification-preferences"

Defined in: electron/services/ipc/notificationChannelGuards.ts:24

Resolves and validates the notification preferences update channel.

Returns

"update-notification-preferences"

Remarks

Ensures the shared preload channel constant matches the string used by IpcService/notificationsApi. Throws during startup in non-production environments when a mismatch is detected so it is caught early.