Workflow-0.8.0.3: Workflow patterns and a monad for thread state logging & recovery

Safe HaskellNone

Control.Workflow.Configuration

Description

Helpers for application initialization

Synopsis

Documentation

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

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

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

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

runConfiguration :: (Monad m, MonadIO m, MonadCatchIO m) => String -> Workflow m a -> m aSource

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