pub fn fork(new_name: &str) -> ForkResult
Expand description
Forks the current agent at the current execution point. The new agent gets the new-name
agent ID,
and this agent continues running as well. The return value is going to be different in this agent and
the forked agent.