ConfigUpdateCallback

Type Alias ConfigUpdateCallback 

Source
pub type ConfigUpdateCallback = Arc<dyn Fn(String, ConfigUpdateRequest) -> ConfigUpdateResponse + Send + Sync>;
Expand description

Callback for config update requests from agents.

The callback receives the agent ID and the config update request. It should return a response indicating whether the update was accepted.

Aliased Typeยง

pub struct ConfigUpdateCallback { /* private fields */ }