Skip to main content

project_evidence

Function project_evidence 

Source
pub fn project_evidence<E: MetadataExecutor>(
    db: &mut E,
    event: Uuid,
    append_and_verify: impl FnOnce(Uuid, &str) -> Result<(), ()>,
) -> Result<bool, PgMetaError>
where E::Row: SchemaStatusRow,
Expand description

Serialize one event’s projection across workers and both durable stores. The callback must append and read back the identical event in the ledger. A lost acknowledgement leaves an independently retryable outbox event.