After you define an event type, there are built-in methods you can call on it, and there are various ways that you can make that event available to monitors and queries.
You can call a number of methods on any
event type. For an overview of these methods, see
event.