Skip to main content

statement_timeout_for

Function statement_timeout_for 

Source
pub fn statement_timeout_for(remaining: Duration) -> Duration
Expand description

The platform’s statement_timeout with remaining of the invocation left: half a second short of the deadline, and never under a second, so a nearly spent budget can still run a statement.