local_exec
Module: startup::local_exec
Section titled “Module: startup::local_exec”Contents
Section titled “Contents”Functions
spawn_local_exec_endpoint- Build and spawn the local-exec governance endpoint if configured.
firma_sidecar::startup::local_exec::spawn_local_exec_endpoint
Section titled “firma_sidecar::startup::local_exec::spawn_local_exec_endpoint”Function
Build and spawn the local-exec governance endpoint if configured.
Returns a JoinHandle for the endpoint task,
or None when [local_exec] is absent from the config.
Errors
Section titled “Errors”Returns an error when the socket cannot be bound (bad path, permissions).
fn spawn_local_exec_endpoint(config: &crate::config::SidecarConfig, cancel: tokio_util::sync::CancellationToken) -> anyhow::Result<Option<tokio::task::JoinHandle<()>>>