Constructors
Methods
destroy
- destroy(): Promise<void>
Returns Promise<void>
displayNotificationLandingMessage
- displayNotificationLandingMessage(notificationIdentifier): Promise<void>
Parameters
- notificationIdentifier: string
Returns Promise<void>
fetchNewNotifications
- fetchNewNotifications(): Promise<{
endReached: boolean;
foundNewNotifications: boolean;
notifications: IInboxNotification[];
}> Returns Promise<{
endReached: boolean;
foundNewNotifications: boolean;
notifications: IInboxNotification[];
}>
hasMore
- hasMore(): Promise<boolean>
Returns Promise<boolean>
markAllNotificationsAsRead
- markAllNotificationsAsRead(): Promise<void>
Returns Promise<void>
markNotificationAsDeleted
- markNotificationAsDeleted(notificationIdentifier): Promise<void>
Parameters
- notificationIdentifier: string
Returns Promise<void>
markNotificationAsRead
- markNotificationAsRead(notificationIdentifier): Promise<void>
Parameters
- notificationIdentifier: string
Returns Promise<void>
Destroys the fetcher.
You'll usually want to use this when your component unmounts in order to free up memory.