Skip to main content

add_runtime_app

Function add_runtime_app 

Source
pub fn add_runtime_app(stack: &mut RuntimeStack, app: AppRuntime) -> bool
Expand description

Adds an app to a runtime stack while rejecting duplicate app identifiers.

§Parameters

§Returns

Returns true when the condition checked by crate::binaries::add_runtime_app holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::binaries::add_runtime_app.

§Examples

ⓘ
let _result = pharos_native::binaries::add_runtime_app(todo!(), todo!());
  • crate::binaries for adjacent helpers that share the same runtime surface.