Skip to main content

ScoutHandler

Type Alias ScoutHandler 

Source
pub type ScoutHandler = fn(folder: PathBuf, frontier: PathBuf, backend: Option<String>, dry_run: bool, json: bool) -> Pin<Box<dyn Future<Output = ()> + Send>>;
Expand description

v0.22 Agent Inbox: pluggable handler for vela scout.

The substrate library can’t import vela-scientist (cyclic dependency), so the scout dispatch in this module looks up a handler installed by the binary at startup. The vela CLI in crates/vela-cli registers a real handler via register_scout_handler. Library callers that want scout behaviour install their own.