pub type ActionRulesCache = Arc<RwLock<HashMap<Box<str>, Option<Arc<ActionSearchRules>>>>>;Expand description
Parsed action manifests, keyed by resolved DSL definition name.
Registered as an App extension by the server’s app module; a per-App
value rather than a static, so two Apps in one process — integration tests,
embedded or multi-instance hosting — cannot share (and contradict) each
other’s definition set.
DSL definitions are immutable after startup, so each type is parsed once per
App. Keyed by the resolved name rather than the (type, subType) pair a
caller passes: resolved names are that App’s fixed set of definitions,
whereas a federated action’s subtype is unbounded and would let this map grow
without limit. None is cached too — the answer for a type with no search
block, which is most of them.
Aliased Type§
pub struct ActionRulesCache { /* private fields */ }