Go to the first, previous, next, last section, table of contents.


Handlers

A handler function accepts a block of keywordValue pairs. The keyword :event must be present, and the matching value must be a event.

A handler that returns is understood to have declined handling the event. It should leave its argument block untouched. A handler that resolves the event normally signals this by invoking an appropriate restart.

Non-serious events, such as window resizing, don't require resolution, and handlers for them may simply return after taking whatever action they consider appropriate, perhaps none.

For syntax to establish handlers in MUF, see section withHandlersDo.


Go to the first, previous, next, last section, table of contents.