yam-app-0.1.6: Yam App

Safe HaskellNone
LanguageHaskell2010

Yam.Event

Documentation

class Monad m => MonadEvent m where Source #

Minimal complete definition

eventHandler

Methods

eventHandler :: Event e => Proxy e -> m [e -> IO ()] Source #

class (ToJSON e, Typeable e) => Event e where Source #

Methods

eventKey :: Proxy e -> String Source #

thenNotify :: (Event e, MonadYamLogger m, MonadMask m, MonadEvent m) => m a -> e -> m a Source #