MCPcopy Create free account
hub / github.com/ddnet/ddnet / Timeout

Class Timeout

scripts/integration_test.py:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60class Timeout(namedtuple("Timeout", ["id", "description"])):
61 def raise_on_error(self, timeout_id):
62 if timeout_id == self.id:
63 raise TimeoutError(f"timeout waiting for {self.description}")
64
65
66# This class is used to track that each timeout value is multiplied by

Callers 2

threadFunction · 0.85

Calls

no outgoing calls

Tested by 1

threadFunction · 0.68