colour.utilities.notify_process_state#

colour.utilities.notify_process_state(function: Callable) Any[source]#

Define a decorator to notify about the process state.

Parameters:

function (Callable) – Function to decorate.

Return type:

Any

Notes

  • Every override of colour.utilities.PortNode.process() along a class hierarchy is decorated, and each one calling its super-class would notify again for the same call. Only the outermost invocation on a given node notifies, so a listener counts processes rather than override levels.