An event dispatcher for the flux architecture