User may create listener for specified event type and graph (or all graphs in sandbox). Listener is actually connection between graph event and task, where graph event specifies WHEN and task specifies WHAT to do.
So progress is like this:
event is created
listeners for this event are notified
each listener performs related task