state package:distributed-process-client-server
Create a
Condition from a function that takes a process state
a and returns a
Bool indicating whether the associated
handler should run.
Prioritised process state, held as an IORef.
predicated on the process state only
An expression used to handle a call message ignoring server
state
An expression used to handle a channel message in a stateless
process
An expression used to ignore server state during handling
Informs a shutdown handler of whether it is running due to a
clean shutdown, or in response to an unhandled exception.
Evaluates to the s state datum in the given
ExitState.
Evaluates to the user defined state for the currently executing server
loop.
Set the current process state.
Modify our state and return a value (potentially from it).
Internal state of a prioritised process loop.
Get the current process state
Apply the given expression to the current process state
Put a new process state state