Skip to main content

entry_message

Function entry_message 

Source
pub fn entry_message(
    doc: &Doc,
    actor: &ActorId,
    context: &ActionContext,
) -> Option<String>
Expand description

The message context is written with by actor on doc: as the continuation of the actor’s last whole entry when the change differs from it only in its gesture and action payload, else whole. Changes of others in between do not matter. A function of the document, so a replaying device writes the same message, hence the same change.