Celestial harmony between callbacks and generators