decide
Decides what to do with event.
The router calls this from onEvent, on the thread that sent the event, and calls it again if the active events changed in the meantime. So it may run more than once and must only compute its answer.
If it throws, the event does not run and the failure is not passed to the screen's ErrorHandler: it is a mistake in the code, so it fails in the router's scope as an uncaught error.
Parameters
active
The events of the screen that are running or waiting to run, oldest first, of every event type.