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.