A module for persistent counters.
Create a unique counter named $counter-name.
$counter-name | Name of the counter. |
Create a unique counter named $counter-name and initialize it with value $init-value.
$counter-name | Name of the counter. |
$init-value | The initial value of the counter. |
Destroy the counter named $counter-name.
$counter-name | Name of the counter. |
Increment the counter $counter-name and return its new value.
$counter-name | Name of the counter. |