Skip to main content

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

NameTypeDescription
funfunctionThe method to be wrapped which requires the splash screen to be active during its execution.

Returns

TypeDescription
functionA wrapped version of the original function that triggers the splash screen before execution.