bolar_2 backup
This commit is contained in:
13
main/core/state_reducer.h
Normal file
13
main/core/state_reducer.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user