Skip to main content

apply_local_with_context

Function apply_local_with_context 

pub fn apply_local_with_context(
    doc: &mut AutoCommit,
    action: &dyn Action,
    encoded: EncodedAction,
    actor: Option<&[u8]>,
    context: ActionContext,
) -> Result<ActionEnvelope, ActionError>
Expand description

apply_local, with semantic provenance embedded in the resulting durable change. Use this at framework/action-door boundaries where the resource and human action label are already known.

ยงErrors

See apply_local.