[][src]Function holochain_core::nucleus::reduce

pub fn reduce(
    context: Arc<Context>,
    old_state: Arc<NucleusState>,
    action_wrapper: &ActionWrapper
) -> Arc<NucleusState>

Reduce state of Nucleus according to action. Note: Can't block when dispatching action here because we are inside the reduce's mutex