MCPcopy Create free account
hub / github.com/AI45Lab/Code / is_timed_out

Method is_timed_out

core/src/hitl.rs:188–190  ·  view source on GitHub ↗

Check if this confirmation has timed out

(&self)

Source from the content-addressed store, hash-verified

186impl PendingConfirmation {
187 /// Check if this confirmation has timed out
188 pub fn is_timed_out(&self) -> bool {
189 self.created_at.elapsed() > Duration::from_millis(self.timeout_ms)
190 }
191
192 /// Get remaining time until timeout in milliseconds
193 pub fn remaining_ms(&self) -> u64 {

Callers 1

check_timeoutsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected