Workflow-0.7.0.4: Monad transformer for thread state persistence and workflow patterns

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 :: String -> WF Stat IO a -> IO ()Source

executes a computation with once and ever statements