Module phron_finality::sync::ticker
source · Structs§
- This struct is used for rate limiting as an on-demand ticker. It can be used for ticking at most after
max_timeout
but no sooner than aftermin_timeout
. Example usage would be to use thewait
method in main select loop andtry_tick
whenever you would like to tick sooner in another branch of select, resetting whenever the rate limited action actually occurs.
Enums§
- Mode 🔒