Skip to main content

Module badge

Module badge 

Source
Expand description

Last-delivered push badge counts.

Remembers, per user and pushkey, the unread total the push gateway last accepted. Intentionally in-memory only: an absent entry forces the next counts-only refresh to send, so a restart reconciles every pusher with a badge this server has never observed. Reaping on pusher delete, replacement, and device removal bounds the map near the live pusher population.

Structsยง

SentBadges ๐Ÿ”’

Type Aliasesยง

Badges ๐Ÿ”’