shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Notify.MonadDBus

Description

Effect for DBus.

Synopsis

Documentation

class Monad m => MonadDBus (m :: Type -> Type) where Source #

Effect for DBus.

Methods

connectSession :: m Client Source #

Connects to DBus.

notify :: Client -> Note -> m (Maybe SomeException) Source #

Sends a notification to DBus.

Instances

Instances details
MonadDBus IO Source # 
Instance details

Defined in Shrun.Notify.MonadDBus

MonadDBus m => MonadDBus (ShellT env m) Source # 
Instance details

Defined in Shrun.ShellT

MonadDBus m => MonadDBus (ReaderT env m) Source # 
Instance details

Defined in Shrun.Notify.MonadDBus