Everpure interview question

Implementation of pub-sub pattern applied to existing interface