decrement

val decrement: (DatasyncValue) -> TransactionOperation.Set

Transaction function that atomically decrements 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.