Skip to main content

WorkflowTaskCleanupObserver

Trait WorkflowTaskCleanupObserver 

Source
pub trait WorkflowTaskCleanupObserver: Send + Sync {
    // Required methods
    fn observe_scan(&self, report: WorkflowTaskCleanupSupervisorReport);
    fn observe_discovery_error(&self);
}
Expand description

Optional low-cardinality observer for cleanup control-plane outcomes.

Implementations must not retain tenant identities or block cleanup.

Required Methods§

Source

fn observe_scan(&self, report: WorkflowTaskCleanupSupervisorReport)

Observes one completed full scan.

Source

fn observe_discovery_error(&self)

Observes a discovery failure that aborted a scan.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§