Interface: EventBusDiagnostics<EventMap>
Defined in: electron/events/TypedEventBus.ts:78
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:82
Unique identifier for this event bus instance.
listenerCounts
Defined in: electron/events/TypedEventBus.ts:84
Number of listeners registered for each event.
maxListeners
maxListeners:
number
Defined in: electron/events/TypedEventBus.ts:86
Maximum number of listeners allowed per event.
maxMiddleware
maxMiddleware:
number
Defined in: electron/events/TypedEventBus.ts:88
Maximum number of middleware functions allowed.
middlewareCount
middlewareCount:
number
Defined in: electron/events/TypedEventBus.ts:90
Number of registered middleware functions.
middlewareUtilization
middlewareUtilization:
number
Defined in: electron/events/TypedEventBus.ts:92
Percentage of middleware slots used (0-100).