referrerpolicy=no-referrer-when-downgrade

Type Alias sc_client_api::client::OnFinalityAction

source ·
pub type OnFinalityAction<Block> = Box<dyn Fn(&FinalityNotification<Block>) -> AuxDataOperations + Send>;
Expand description

Callback invoked before committing the operations created during block finalization. This gives the opportunity to perform auxiliary pre-commit actions and optionally enqueue further storage write operations to be atomically performed on commit.

Aliased Type§

struct OnFinalityAction<Block>(/* private fields */);