14 lines
358 B
C++
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
|