def METHOD_NAME() -> None:
    nonlocal timeout_scheduled, running_requested
    if timeout_scheduled:
        running_requested = True
    else:
        assert not running_requested
        function()
        any_widget.after(ms_between_calls_min, timeout_callback)
        timeout_scheduled = True