Skip to main content

evaluate_trigger_mutation

Function evaluate_trigger_mutation 

Source
pub fn evaluate_trigger_mutation(
    current: Option<TriggerSubscriptionRecord>,
    command: TriggerCommand,
    now: u64,
) -> Result<TriggerEffectResult, PluginError>
Expand description

Evaluate one mutation against the current logical row. Durable stores use this shared oracle inside their own transaction, then persist the receipt and returned record snapshot atomically.