EventData: {
    callback: Function;
    context: object;
    ctx: object;
    listening?: object;
    options: EventOptionsOut;
}

The callback data for an event.

Type declaration

  • callback: Function

    Callback function

  • context: object

    Event context

  • ctx: object

    Event context or local eventbus instance.

  • Optionallistening?: object

    Any associated listening instance.

  • options: EventOptionsOut

    Holds options for this event registration, One such option is 'guarded' which prevents multiple registrations.