Chime.Feed (Chime v0.1.0-dev)

Copy Markdown View Source

A person's feed: their notifications, the newest first, and what they did with them. Chime has the functions; the JSON API and Chime.Live are over them.

A notification of the feed is shown by its notifier's Chime.Notifier.feed/2, when it is read: render/1 gives %{title:, body:, url:, icon:}, and whatever else the notifier put in it.

Summary

Functions

What the feed shows of a notification (its event preloaded): the notifier's Chime.Notifier.feed/2, with :title at least. A notifier no longer in the app shows its kind.

Functions

render(notification)

@spec render(Chime.Notification.t()) :: map()

What the feed shows of a notification (its event preloaded): the notifier's Chime.Notifier.feed/2, with :title at least. A notifier no longer in the app shows its kind.