- historyTimeout :: Int
- type StateID = (String, String)
- history :: MVar (Map StateID TableEntry)
- data TableEntry = TableEntry {}
- createEntry :: StateID -> Maybe StateID -> PARAMETER -> Maybe Int -> IO ()
- readParameters :: StateID -> IO (CGIParameters, Handle)
- notify :: StateID -> CGIParameters -> Handle -> IO Bool
Documentation
standard value for timeout of interaction threads: one hundred seconds
data TableEntry Source
createEntry :: StateID -> Maybe StateID -> PARAMETER -> Maybe Int -> IO ()Source
Takes the id of the current node, the id of the father node (if any), the current parameter, and (perhaps) a timeout value for the current interaction and enters a corresponding record into the history table.
readParameters :: StateID -> IO (CGIParameters, Handle)Source
Suspends the current thread by waiting on an entry with the current node's id. Returns the parameters passed to this node.