Periodically

class Periodically(var periodInMs: Long)

keep track of when something can happen, if there's a minimum time interval where it should happen

Constructors

Link copied to clipboard
constructor(periodInMs: Long)

Properties

Link copied to clipboard
Link copied to clipboard

You may change this period to dynamically adjust the flush period

Functions

Link copied to clipboard
operator fun invoke(): Boolean
Link copied to clipboard
fun reset()

invoke again right away

Link copied to clipboard
open override fun toString(): String