Function dispatch_by
pub fn dispatch_by(
doc: &mut AutoCommit,
action: &dyn Action,
encoded: EncodedAction,
transport: &mut dyn ActionTransport,
actor: Option<&[u8]>,
) -> Result<Dispatched, ActionError>Expand description
dispatch, attributing the resulting change to actor — the
executor owns the commit boundary, so it’s the only place that
chooses which actor a change commits under, rather than each app remembering.
§Errors
See apply_local.