fn lease_or_cancel(
execute_by: Instant,
cancel: &CancellationToken,
) -> Result<(), AbortReason>Expand description
Aborts if the lease has expired or the run is cancelled, lease first.
fn lease_or_cancel(
execute_by: Instant,
cancel: &CancellationToken,
) -> Result<(), AbortReason>Aborts if the lease has expired or the run is cancelled, lease first.