listener
A listener is a function that is registered to be called when a specific event occurs. In programming, events can be triggered by user interactions, system actions, or other external factors. Listeners are used to respond to these events and perform specific actions or updates in response.