Skip to main content

dynamic_execute_declarative_action

Function dynamic_execute_declarative_action 

Source
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

§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!());