The shell's own unread count. A provider's unread number never goes down, because nothing tells a provider what was read, so the shell counts what arrives while the person is elsewhere.
A count at zero.
const unread = createUnreadCount();const stop = unread.watch(kernl.messaging.composite(), () => messagesOpen); Copy
const unread = createUnreadCount();const stop = unread.watch(kernl.messaging.composite(), () => messagesOpen);
The shell's own unread count. A provider's unread number never goes down, because nothing tells a provider what was read, so the shell counts what arrives while the person is elsewhere.