Skip to main content

settle

Function settle 

Source
pub fn settle(
    ctx: impl AsContextMut<Data = StoreData>,
    rate: Rate,
    n: u64,
) -> Result<()>
Expand description

Charges units for work that followed an effect: a response received, a file written, a completion returned. The effect has happened and its result is in hand, so the charge never refuses: a short budget is taken to zero, the call completes, and the run stops at the next fuel check.