Commits all pending operations in the current transaction,
creating a new change in the document's history. Commits can
include an optional message (like a git commit message) and
timestamp.
Usage
am_commit(doc, message = NULL, time = NULL)
Value
The document doc (invisibly)
Arguments
doc
An Automerge document
message
Optional commit message (character string)
time
Optional timestamp (POSIXct). If NULL, uses current time.