apply_lifecycle_effects

Function apply_lifecycle_effects 

Source
pub fn apply_lifecycle_effects(
    response: &mut Value,
    lifecycle: &PersonaLifecycle,
    endpoint_type: &str,
)
Expand description

Apply lifecycle state effects to a response based on endpoint type

This is a convenience function that routes to the appropriate lifecycle effect function based on the endpoint path or type.