Skip to main content

publish_on_commit

Function publish_on_commit 

Source
pub fn publish_on_commit(
    dbtx: &mut DatabaseTransaction<'_, Committable>,
    sender: Sender<Option<Arc<CachedSessionOutcome>>>,
    index: u64,
    outcome: &SignedSessionOutcome,
)
Expand description

Publish only after the transaction storing the signed outcome succeeds.