Skip to main content

ui_only_process_declaration

Function ui_only_process_declaration 

Source
pub fn ui_only_process_declaration(
    manifest: &AppManifest,
) -> Option<&'static str>
Expand description

Contracts F5: the first thing manifest declares that implies a backend process, which a UI-only app cannot have. A UI-only app is never started, so it can neither receive events nor wait on dependencies. Shared by AppManifest::validate and node-app audit.