pub fn persist_app_state_text(app: &AppRuntime, state_json: &str) -> i32Expand description
Persists a complete state JSON document through the bounded filesystem helper.
§Parameters
app: Input consumed bycrate::runtime::dynamic::persist_app_state_text.state_json: Input consumed bycrate::runtime::dynamic::persist_app_state_text.
§Returns
Returns the computed value produced by crate::runtime::dynamic::persist_app_state_text.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::persist_app_state_text.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::persist_app_state_text(todo!(), todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.