| am_get_actor | R Documentation |
Returns the actor ID of an Automerge document as a raw vector. The actor ID uniquely identifies the editing session that created changes in the document.
am_get_actor(doc)
doc |
An Automerge document |
For a hex string representation, use am_get_actor_hex().
A raw vector containing the actor ID bytes
doc <- am_create()
actor <- am_get_actor(doc)
# Use am_get_actor_hex() for display
actor_hex <- am_get_actor_hex(doc)
cat("Actor ID:", actor_hex, "\n")
am_close(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.