Rivet.Utils.Interval.Tick (rivet_utils v2.0.8)

View Source

Similar to Interval, but tick-driven, where it has a tick frequency which is more frequent than the interval frequency -- allowing for interruptions to the interval and the subsequent intervals to start from there forward.

Seconds used as precision, not milliseconds

Contributor: Brandon Gillespie

Summary

Functions

queue(state, method, interval, frequency, next)

reset_next_interval(state, method)

start(state, method, interval, freq)

stop(state, method)