Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Provides an effect for sending system notifications.
Synopsis
- class Monad m => MonadNotify m where
- sendNote :: HasCallStack => NaviNote -> m ()
- sendNoteQueue :: (HasCallStack, HasNoteQueue env, MonadReader env m, MonadSTM m) => NaviNote -> m ()
Documentation
class Monad m => MonadNotify m where Source #
This class represents sending desktop notifications.
sendNote :: HasCallStack => NaviNote -> m () Source #
Instances
MonadNotify (NaviT DBusEnv IO) Source # | |
MonadNotify (NaviT NotifySendEnv IO) Source # | |
Defined in Navi.NaviT | |
MonadNotify m => MonadNotify (ReaderT e m) Source # | |
sendNoteQueue :: (HasCallStack, HasNoteQueue env, MonadReader env m, MonadSTM m) => NaviNote -> m () Source #