Counter functions

coun­ters­.se­t(name, value, counterFile)

Sets a specific value for a named counter, stored in default or custom location. Used for initializing or correcting counter values.

coun­ters­.ge­t(name, counterFile)

Retrieves the current numerical value of a named counter, allowing you to monitor and track the state of various counters in your application.

coun­ters­.­in­c(name, value, counterFile)

Thread safe function managing a counter by name. Increments counter value and returns new value. If counter not set, starts at value 1.