cycletracker
Experimental. For evaluation. Interfaces, configuration, and behavior may change incompatibly.
Tracks an explicitly updated counter within a script session.
Prerequisites
- None.
Setup
- Loads automatically; no configuration required.
A module for tracking cycles.
Members
fail_if
cycletracker.fail_if(num)Fail if the count is greater than the given number.
Parameters
numintThe number to compare the count to.get
cycletracker.get()Get the count.
Returns
countintThe current count.increment
cycletracker.increment()Increment the count.
reset
cycletracker.reset()Reset the count.