Skip to main content

set_global_broker

Function set_global_broker 

Source
pub fn set_global_broker(broker: Arc<dyn CredentialBroker>)
Expand description

Install the process-wide broker (called once from runtime configuration). Every call is counted (global_broker_install_count) and, when SYNAPS_MEM_TRACE=1, logged — the daemon-mode S7 gate asserts the count stays at 1 across subagent spawns.