pub fn envelope_at(
doc: &mut Doc,
action: &dyn Action,
encoded: EncodedAction,
(actor, context): (&[u8], ActionContext),
pinned: (ActionId, i64),
) -> Result<ActionEnvelope, ActionError>Expand description
The envelope apply_local_with_context writes for action at the
doc’s current heads, under the invocation id and origin time (seconds
since the Unix epoch) the caller pins rather than fresh ones: a device
applying an app’s verb from its package mints both from the request, so
every holder given the same request writes the same change.
§Errors
See apply_local.