imm-1.2.1.0: Execute arbitrary actions for each unread element of RSS/Atom feeds

Safe HaskellNone
LanguageHaskell98

Imm.Database.FeedTable

Contents

Description

Feed table definitions. This is a specialization of Imm.Database.

Synopsis

Types

data FeedTable Source #

Singleton type to represent feeds table

Constructors

FeedTable 

Primitives

markAsRead :: (MonadIO m, DatabaseF' :<: f, MonadFree f m, MonadThrow m, LoggerF :<: f) => FeedID -> m () Source #

Set the last check time to now

markAsUnread :: (DatabaseF' :<: f, MonadFree f m, MonadThrow m, LoggerF :<: f) => FeedID -> m () Source #

Unset feed's last update and remove all read hashes