@omz said:
ui.delay expects a callable object, typically a function, but you're passing the result of a function call (which is None in this case because colorIt doesn't return anything).
Many thanks OMZ. I understand.
I suppose to other approach is to refactor the code so that the called function has no parameters - but for this simple example partial seems easier.