Callbacks and Event Handlers

Between events no unnecessary processing takes place; the program remains ready to respond without wasting CPU cycles. The runtime environment listens for events and invokes the associated handler or callback when a matching event fires.

1 sources - 2 claims

Between events no unnecessary processing takes place; the program remains ready to respond without wasting CPU cycles. The runtime environment listens for events and invokes the associated handler or callback when a matching event fires.