Periodic

constructor(interval: Measure<Time>, function: Runnable)

Creates a new periodic function wrapper.

Parameters

interval

The interval at which to call the function.

function

The function to call.