Open ghost opened 3 years ago
Actually this code works:
cache["test"] = "desuwa"
time.sleep(7)
cache["test"] = cache["test"]
time.sleep(7)
print(cache['test'])
So the second example is already possible
It would be nice to be able to do this on access automatically though, like in the first example
For exemple:
Alternatively, a function to reset the timer