Skip to main content

ActivationTransactionHook

Type Alias ActivationTransactionHook 

Source
pub type ActivationTransactionHook = Arc<dyn Fn(&ActivationRequest) -> Result<PreparedActivation> + Send + Sync>;
Expand description

Request-scoped activation transaction.

Preparation runs concurrently and off-lock. The returned PreparedActivation is committed only if this request remains the latest intent; otherwise it is dropped and the caller receives a superseded outcome. This single callback replaces the legacy plain/revisions/summary trio for consumers that need coherent concurrent activation.

Aliased Type§

pub struct ActivationTransactionHook { /* private fields */ }