pub fn finish_operation(
connection: &Connection,
id: OperationId,
outcome: impl Into<ListedOutcome>,
) -> Result<(), CovenError>Expand description
End the operation id, which the app’s write journaled, on connection
as a store ends it with outcome: coven_operations lists the outcome
until the app acknowledges it (§11.4). An outcome not in the outcome type
of the operation’s kind fails with Invariant, as coven never writes one.