Sets the actor ID for an Automerge document. This should typically
be done before making any changes. Changing the actor ID mid-session
is not recommended as it can complicate change attribution.
doc <- am_create()
# Set custom actor ID from hex stringam_set_actor(doc, "0123456789abcdef0123456789abcdef")
# Generate new random actor IDam_set_actor(doc, NULL)
am_close(doc)