acting

suspend fun <T> acting(subscription: SubscriptionId, ref: AggregateRef, action: suspend () -> T): T

Runs action, an operator's action on subscription's entry of ref that publishes what came of it, while the scans leave the entry alone: a scan between the action resolving the entry and publishing its outcome would otherwise publish it as LedgerResolution.RESOLVED first, and the ops view keeps the first resolution.