MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

utils/timer.py:42–44  ·  view source on GitHub ↗
(self, timeout)

Source from the content-addressed store, hash-verified

40class CountdownTimer:
41
42 def __init__(self, timeout):
43 self.timeout = timeout
44 self.start = time.time()
45
46 def elapsed(self):
47 return time.time() - self.start

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected