[−][src]Function holochain_core::agent::state::reduce
pub fn reduce(
context: Arc<Context>,
old_state: Arc<AgentState>,
action_wrapper: &ActionWrapper
) -> Arc<AgentState>
Reduce Agent's state according to provided Action
pub fn reduce(
context: Arc<Context>,
old_state: Arc<AgentState>,
action_wrapper: &ActionWrapper
) -> Arc<AgentState>
Reduce Agent's state according to provided Action