Files
bolar_2/main/core/state_reducer.h
2026-11-27 16:38:11 +08:00

14 lines
358 B
C++

#pragma once
#include "core/app_effect.h"
#include "core/app_event.h"
#include "core/runtime_state.h"
namespace borla {
// Pure control-plane state transition function. It has no ESP-IDF dependency,
// performs no I/O and is therefore host-testable.
TransitionResult ReduceState(const RuntimeState& current, const AppEvent& event);
} // namespace borla