📣 Schedule Event Bus
The ScheduleEventBus
emits schedule related events. It's stored by a ScheduleManager
, and you can get it via
ScheduleManager#getEventBus()
.
tip
You can check more information about buses on the 📣 Event Buses documentation.
👂 Events
Currently, the events that it emits are:
ScheduleAdd
- Emitted when a newSchedule
is added. Passes the addedSchedule
.ScheduleRemove
- Emitted when anSchedule
is removed. Passes the removedSchedule
.
You can get these events from the ScheduleEventEnum
enum on @core
.