CL-GSERVER.AGENT
agent-get AGENT GET-FUN → result
AGENT
:
a
T
GET-FUN
:
a
T
result
: a T.
Gets the current state of the `agent'. `get-fun' must accept one parameter. That is the current-state of the `agent'. To return the current state `get-fun' may be just the `identity' function. Beware that this function does directly access the state of the agent for performance reasons. It does not go through message processing. See `agent-test' for examples.