monday.com interview question

implement an event dispatcher based on text input