pub fn dynamic_execute_declarative_action(
app: &AppRuntime,
state_path: Option<&Path>,
request: &HttpRequest,
action_id: &str,
) -> Result<DeclarativeActionResponse, i32>Expand description
Executes the bounded declarative dynamic-app action contract against persisted state.
§Parameters
app: Input consumed bycrate::runtime::dynamic::dynamic_execute_declarative_action.state_path: Input consumed bycrate::runtime::dynamic::dynamic_execute_declarative_action.request: Input consumed bycrate::runtime::dynamic::dynamic_execute_declarative_action.action_id: Input consumed bycrate::runtime::dynamic::dynamic_execute_declarative_action.
§Returns
Returns the successful value produced by crate::runtime::dynamic::dynamic_execute_declarative_action or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::dynamic::dynamic_execute_declarative_action cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::dynamic_execute_declarative_action.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::dynamic_execute_declarative_action(todo!(), todo!(), todo!(), todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.