Interface: EventBusDiagnostics<EventMap>
Defined in: electron/events/TypedEventBus.ts:159
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:163
Unique identifier for this event bus instance.
listenerCounts
Defined in: electron/events/TypedEventBus.ts:165
Number of listeners registered for each event.
maxListeners
maxListeners:
number
Defined in: electron/events/TypedEventBus.ts:167
Maximum number of listeners allowed per event.
maxMiddleware
maxMiddleware:
number
Defined in: electron/events/TypedEventBus.ts:169
Maximum number of middleware functions allowed.
middlewareCount
middlewareCount:
number
Defined in: electron/events/TypedEventBus.ts:171
Number of registered middleware functions.
middlewareUtilization
middlewareUtilization:
number
Defined in: electron/events/TypedEventBus.ts:173
Percentage of middleware slots used (0-100).