CL-GSERVER.ACTOR
become ACTOR NEW-BEHAVIOR → result
ACTOR
:
a
T
NEW-BEHAVIOR
:
a
T
result
: a T.
Changes the receive of the actor to the given `new-behavior' function. The `new-behavior' function must accept 3 parameters: the actor instance, the message and the current state.