Safe Haskell | None |
---|---|
Language | GHC2021 |
Effect for DBus.
Synopsis
- class Monad m => MonadDBus (m :: Type -> Type) where
- connectSession :: m Client
- notify :: Client -> Note -> m (Maybe SomeException)
- notifyDBus :: (HasCallStack, MonadDBus m) => Client -> ShrunNote -> m (Maybe NotifyException)
Documentation
class Monad m => MonadDBus (m :: Type -> Type) where Source #
Effect for DBus.
connectSession :: m Client Source #
Connects to DBus.
notify :: Client -> Note -> m (Maybe SomeException) Source #
Sends a notification to DBus.
notifyDBus :: (HasCallStack, MonadDBus m) => Client -> ShrunNote -> m (Maybe NotifyException) Source #