attribute_changes_completed event

attribute_changes_completed event

Occurs when all enqueued attribute changes are finished.

Definition:

node_event_hub.attribute_changes_completed += handler    # subscribe handler(sender, args)
node_event_hub.attribute_changes_completed -= handler    # remove the last subscription of handler
node_event_hub.attribute_changes_completed.clear()       # remove every handler added from Python

Handler arguments

Argument Description
sender The object that raised the event.
args the event’s data, if any

The handler runs on the thread that raises the event, which can be an engine worker thread. An exception it raises there is printed to stderr and ignored; on the calling thread it reaches the engine, as in .NET.

See Also