Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Provides environment for usage with NotifySend.
Synopsis
- newtype NotifySendEnv = MkNotifySendEnv {}
- mkNotifySendEnv :: MonadSTM m => LogEnv -> Config -> m NotifySendEnv
- naviToNotifySend :: NaviNote -> Text
Documentation
newtype NotifySendEnv Source #
Concrete notify-send environment. Adds the dbus client.
Instances
HasEvents NotifySendEnv Source # | |
Defined in Navi.Env.NotifySend | |
HasLogEnv NotifySendEnv Source # | |
Defined in Navi.Env.NotifySend getLogEnv :: NotifySendEnv -> LogEnv Source # localLogEnv :: (LogEnv -> LogEnv) -> NotifySendEnv -> NotifySendEnv Source # | |
HasLogQueue NotifySendEnv Source # | |
Defined in Navi.Env.NotifySend getLogQueue :: NotifySendEnv -> TBQueue LogStr Source # | |
HasNoteQueue NotifySendEnv Source # | |
Defined in Navi.Env.NotifySend | |
(k ~ An_Iso, a ~ Env, b ~ Env) => LabelOptic "coreEnv" k NotifySendEnv NotifySendEnv a b Source # | |
Defined in Navi.Env.NotifySend labelOptic :: Optic k NoIx NotifySendEnv NotifySendEnv a b Source # | |
MonadNotify (NaviT NotifySendEnv IO) Source # | |
Defined in Navi.NaviT |
mkNotifySendEnv :: MonadSTM m => LogEnv -> Config -> m NotifySendEnv Source #
Creates a NotifySendEnv
from the provided log types and configuration
data.