Python:
class AXStandBy:
def __init__(self, pause: int):
self._tg:TimeGate = TimeGate(pause)
def standBy(self, ear: str) -> bool:
# only returns true after pause minutes of no input
if len(ear) > 0:
# restart count
self._tg.openForPauseMinutes()
return False
if self._tg.isClosed():
# time out without input, stand by is true
self._tg.openForPauseMinutes()
return True
feeling lethargic. going to sleep. fuck you lurker cunts