splash
A decorator that ensures the splash method is called on the instance before executing the decorated function.
def splash(
fun: function
) - > function
A decorator that ensures the splash screen is displayed before executing the decorated method.
Parameters
| Name | Type | Description |
|---|---|---|
| fun | function | The method to be wrapped which requires the splash screen to be active during its execution. |
Returns
| Type | Description |
|---|---|
function | A wrapped version of the original function that triggers the splash screen before execution. |