event handler

An event handler is a callback subroutine that handles inputs received in a program.