MCPcopy Create free account
hub / github.com/aviralkumar2907/CQL / ConditionTimer

Class ConditionTimer

d4rl/rlkit/pythonplusplus.py:380–416  ·  view source on GitHub ↗

A timer that goes off after the a fixed time period. The catch: you need to poll it and provide it the time! Usage: ``` timer = PollTimer(100) # next check will be true at 100 timer.check(90) # False timer.check(110) # True. Next check will go off at 110 + 100 = 210

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected