Skip to main content

ExactWorkflowClock

Trait ExactWorkflowClock 

Source
pub trait ExactWorkflowClock: Send + Sync {
    // Required method
    fn unix_millis(&self) -> Result<u64, ExactWorkflowError>;
}
Expand description

Injectable wall clock. Time is a liveness budget, never ordering or commit evidence.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§