Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data InMemoryDedup Source #
InMemoryDedup | |
|
Instances
HasInMemoryDedup InMemoryDedup Source # | |
Defined in Network.Mail.Newsletter.Web.Dedup.InMem inMemoryDedup :: Lens' InMemoryDedup InMemoryDedup Source # psqSubscribes :: Lens' InMemoryDedup (TVar (HashPSQ Text UTCTime ())) Source # psqTimeout :: Lens' InMemoryDedup NominalDiffTime Source # |
newInMemDedup :: MonadIO m => NominalDiffTime -> m InMemoryDedup Source #
class HasInMemoryDedup c where Source #
inMemoryDedup :: Lens' c InMemoryDedup Source #
psqSubscribes :: Lens' c (TVar (HashPSQ Text UTCTime ())) Source #
psqTimeout :: Lens' c NominalDiffTime Source #
Instances
HasInMemoryDedup InMemoryDedup Source # | |
Defined in Network.Mail.Newsletter.Web.Dedup.InMem inMemoryDedup :: Lens' InMemoryDedup InMemoryDedup Source # psqSubscribes :: Lens' InMemoryDedup (TVar (HashPSQ Text UTCTime ())) Source # psqTimeout :: Lens' InMemoryDedup NominalDiffTime Source # |
genericInMemRecentlySubscribed :: (HasInMemoryDedup d, MonadReader d m, MonadIO m) => Address -> m Bool Source #