Interface: EventBusDiagnostics<EventMap>
Defined in: electron/events/TypedEventBus.ts:173
Diagnostic information about a TypedEventBus instance.
Remarks
Provides runtime insights into event bus configuration and usage, including listener and middleware statistics.
Type Parameters
EventMap
EventMap extends TypedEventMap = TypedEventMap
Properties
busId
busId:
string
Defined in: electron/events/TypedEventBus.ts:177
Unique identifier for this event bus instance.
listenerCounts
Defined in: electron/events/TypedEventBus.ts:179
Number of listeners registered for each event.
maxListeners
maxListeners:
number
Defined in: electron/events/TypedEventBus.ts:181
Maximum number of listeners allowed per event.
maxMiddleware
maxMiddleware:
number
Defined in: electron/events/TypedEventBus.ts:183
Maximum number of middleware functions allowed.
middlewareCount
middlewareCount:
number
Defined in: electron/events/TypedEventBus.ts:185
Number of registered middleware functions.
middlewareUtilization
middlewareUtilization:
number
Defined in: electron/events/TypedEventBus.ts:187
Percentage of middleware slots used (0-100).