Skip to main content

stop_now

Function stop_now 

Source
pub fn stop_now(block_id: &str, graceful: bool) -> Result<(), String>
Expand description

Policy::stop_cli_only’s entry, for callers with no AppState (the watchdog, the pane’s AgentStop command): controller.stop() only. Errors with NOT_RUNNING when the block has no controller.