Handlers
The handlers module lets you define reactions to events.
Handlers respond to Events and return zero, one, or many Effects.
There are some special types of handlers, like Protocols and CronTasks. These offer a differentiated interface for their particular use-cases. For example, CronTasks only ever respond to the CRON
event, require a schedule to be specified, and expect the execute
method to be implemented rather than compute
.
Action Button
Add a button that executes your custom code when clicked.Application
Launch an iframe when your icon is clicked in the app drawer.Cron Task
Execute your code on a cron-like schedule.Base Handler
Respond to events with your custom code.