happstack-state-6.1.0: Event-based distributed state.




startSystemState :: (Methods a, Component a) => Proxy a -> IO (MVar TxControl)Source

Starts the MACID system without replication support. Uses the default behavior of saving the state into the _local directory.

startSystemStateAmazon :: (Methods a, Component a) => ApplicationName -> Proxy a -> IO (MVar TxControl)Source

stdSaver :: IO SaverSource

Returns the default Saver. It will save the application state into the _local directory.

waitForTermination :: IO ()Source

Wait for a signal. On unix, a signal is sigINT or sigTERM. On windows, the signal is entering e.