added onHeartbeat($consumer) caller