| am_counter | R Documentation |
Creates a counter value for use with Automerge. Counters are CRDT types that support conflict-free increment and decrement operations.
am_counter(value = 0L)
value |
Initial counter value (default 0) |
An am_counter object
doc <- am_create()
am_put(doc, AM_ROOT, "score", am_counter(0))
am_close(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.