Skip to main content

OUTSTANDING_TRANSACTIONS

Static OUTSTANDING_TRANSACTIONS 

Source
pub(crate) static OUTSTANDING_TRANSACTIONS: AtomicUsize
Expand description

A number that is non-zero if there are asynchronously triggered operations that have been triggered but not successfully completed yet. In practice, if this is non-zero, we will re-run the egui update function in order to ensure that we deal with the outstanding transactions eventually. When incrementing this, it is important to make sure that it gets decremented whenever the asynchronous transaction is completed, otherwise we will re-render things until program exit