# Run in loop A helper function to call a callback at a given frequency indefinitely.