Block until we have an active event, then exit once all active events * have had their callbacks run.
See Source File
Block until we have an active event, then exit once all active events * have had their callbacks run.