## utilities.FunctionRepeater


Repeats a function every interval. Ref: https://tinyurl.com/yckgv8m2


Usage

``` python
utilities.FunctionRepeater(
    interval,
    function,
    *args,
    **kwargs,
)
```


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize FunctionRepeater class. |
| [start()](#start) | Start the function repeater. |
| [stop()](#stop) | Stop the function repeater. |

------------------------------------------------------------------------


#### \_\_init\_\_()


Initialize FunctionRepeater class.


Usage

``` python
__init__(interval, function, *args, **kwargs)
```


##### Parameters


`interval: float | int`  
Time interval in seconds between function calls.

`function: callable`  
The function to repeat.

`args: tuple = ()`  
Positional arguments to pass to the function.

`kwargs: dict = {}`  
Keyword arguments to pass to the function.


------------------------------------------------------------------------


#### start()


Start the function repeater.


Usage

``` python
start()
```


------------------------------------------------------------------------


#### stop()


Stop the function repeater.


Usage

``` python
stop()
```
