Executes a method forever at the specified interval.

  Args:
    method: The callable to execute.
    interval_s: The number of seconds to start the execution after each method
        finishes.
  Returns:
    An Interval object.

def execute_forever(method, interval_s):  # pylint: disable=invalid-name
  """Executes a method forever at the specified interval.

  Args:
    method: The callable to execute.
    interval_s: The number of seconds to start the execution after each method
        finishes.
  Returns:
    An Interval object.
  """
  interval = Interval(method)
  interval.start(interval_s)
  return interval