Child-parent relationships with event emitters