Interface: EventBusDiagnostics<EventMap>
Defined in: electron/events/TypedEventBus.ts:79
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:83
Unique identifier for this event bus instance.
listenerCounts
Defined in: electron/events/TypedEventBus.ts:85
Number of listeners registered for each event.
maxListeners
maxListeners:
number
Defined in: electron/events/TypedEventBus.ts:87
Maximum number of listeners allowed per event.
maxMiddleware
maxMiddleware:
number
Defined in: electron/events/TypedEventBus.ts:89
Maximum number of middleware functions allowed.
middlewareCount
middlewareCount:
number
Defined in: electron/events/TypedEventBus.ts:91
Number of registered middleware functions.
middlewareUtilization
middlewareUtilization:
number
Defined in: electron/events/TypedEventBus.ts:93
Percentage of middleware slots used (0-100).