Crate aptos_time_service
source · [−]Expand description
Abstract time service
Re-exports
pub use crate::real::RealTimeService;
Modules
Enums
TimeService
abstracts all time-related operations in one place that can be
easily mocked-out and controlled in tests or delegated to the actual
underlying runtime (usually tokio). It’s provided as an enum so we don’t have
to infect everything with a generic tag.