Skip to main content

GetSlotValuesHandler

Type Alias GetSlotValuesHandler 

Source
pub type GetSlotValuesHandler = Arc<dyn Fn(Vec<String>) -> Pin<Box<dyn Future<Output = HashMap<String, Value>> + Send>> + Send + Sync>;
Expand description

Handler function type for GetSlotValues messages. Called when an external client wants to read current slot values. Returns a map of slot paths to their current values.

Aliased Typeยง

pub struct GetSlotValuesHandler { /* private fields */ }