|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Per-action policy deciding how repeated executions are checkpointed into a durable action log. More...
#include <registry.hpp>
Static Public Attributes | |
| static constexpr bool | coalesce = false |
| If true, a checkpoint keeps only the most recent entry per (modelType, entityKey, actionType). If false (default), every entry survives. | |
Per-action policy deciding how repeated executions are checkpointed into a durable action log.
Deliberately minimal for now — only coalesce exists, and it has no registration macro yet. Specialise directly for the rare action where only the latest occurrence should survive a checkpoint (e.g. a form-field edit fired repeatedly via morph::flows::FlowSession::set<>); every other action defaults to false, meaning every execution is treated as a distinct, permanent fact (the right default for anything resembling a business event).
| Action | Concrete action type. |
Definition at line 428 of file registry.hpp.
|
staticconstexpr |
If true, a checkpoint keeps only the most recent entry per (modelType, entityKey, actionType). If false (default), every entry survives.
Definition at line 432 of file registry.hpp.