Skip to main content

decide

Function decide 

Source
pub fn decide(app: &AppId, input: &dyn ModeInput) -> Result<Mode, Refusal>
Expand description

Decide once, before any store, log, credential or service starts.

Without test-mode this returns Mode::Release and reads nothing from input.