Skip to main content

prepare_canonical_changeset

Function prepare_canonical_changeset 

Source
pub async fn prepare_canonical_changeset(
    runtime: &KhiveRuntime,
    registry: &VerbRegistry,
    token: &NamespaceToken,
    changeset: &ChangeSet,
) -> RuntimeResult<Vec<AtomicOpPlan>>
Expand description

Prepare a bounded canonical changeset without admitting any writer work.

Schema, count, and unsupported operation checks run before asynchronous preparation. Every constituent is authorized with the applying caller. The returned opaque plans must run together through crate::run_atomic_unit.