Counter API¶
Block name |
Block rendering |
|
---|---|---|
Increments a counter and optionally returns the current or the previous value of the counter. |
||
Decrements a counter and optionally returns the current or the previous value of the counter. |
||
Sets counter value if the counter contains an expected value. Optionally returns the current value of the counter. |
||
Returns the current value of the counter. |
||
Resets the counter to zero. |