Workflow-0.8.3: Workflow patterns over a monad for thread state logging & recovery

Safe HaskellNone
LanguageHaskell98

Control.Workflow.Configuration

Description

Helpers for application initialization

Synopsis

Documentation

once :: (Typeable a, Serialize a, MonadIO m) => m a -> Workflow m a Source

to execute one computation once . It executes at the first run only

ever :: (Typeable a, Serialize a, MonadIO m) => IO a -> Workflow m a Source

to execute a computation every time it is invoked. A synonimous of unsafeIOtoWF

runConfiguration :: (Monad m, MonadIO m, MonadMask m) => String -> Workflow m a -> m a Source

executes a computation with once and ever statements a synonym of exec1nc