Skip to main content

persist_app_state_text

Function persist_app_state_text 

Source
pub fn persist_app_state_text(app: &AppRuntime, state_json: &str) -> i32
Expand description

Persists a complete state JSON document through the bounded filesystem helper.

§Parameters

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