Returns a function which can either serve as a decorator itself or return another decorator function, in order to make it possible to use the various decorators (
@heli.button) either without parentheses or with parameters.
WARNING: This is an internal function. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.
todo — func(name, fn, kwargs), required
The action that the returned decorator function should take on its decorated functions.