increment
Content copied to clipboard
Transaction function that atomically increments the value of a data node by a given step or sets the initial start value if the data node had no value.
This function is expected to be passed to the DatasyncNode.runTransaction method.
Transaction function that atomically increments the value of a data node or sets its initial value to 0
if it had no value.
This function is expected to be passed to the DatasyncNode.runTransaction method.