Function reducer

Source
pub fn reducer<State, Action>(
    state_context: Substate<'_, Action, State, SnarkWorkVerifyState>,
    action: ActionWithMeta<&SnarkWorkVerifyAction>,
)