agent-plugin-event-emitter / Exports / IEventEmitterPluginOptions
Interface: IEventEmitterPluginOptions
Event emitter configuration
Hierarchy
IPluginOptions↳
IEventEmitterPluginOptions
Table of contents
Properties
- enabled
- category
- priority
- moduleEvents
- subscribeToAllModuleEvents
- events
- maxListeners
- async
- catchErrors
- filters
- buffer
- metrics
Properties
enabled
• Optional enabled: boolean
Inherited from
IPluginOptions.enabled
Defined in
agent-core/dist/node/index.d.ts:971
category
• Optional category: PluginCategory
Inherited from
IPluginOptions.category
Defined in
agent-core/dist/node/index.d.ts:972
priority
• Optional priority: number
Inherited from
IPluginOptions.priority
Defined in
agent-core/dist/node/index.d.ts:973
moduleEvents
• Optional moduleEvents: TEventName[]
Inherited from
IPluginOptions.moduleEvents
Defined in
agent-core/dist/node/index.d.ts:974
subscribeToAllModuleEvents
• Optional subscribeToAllModuleEvents: boolean
Inherited from
IPluginOptions.subscribeToAllModuleEvents
Defined in
agent-core/dist/node/index.d.ts:975
events
• Optional events: TEventName[]
Defined in
agent-plugin-event-emitter/src/plugin-types.ts:106
maxListeners
• Optional maxListeners: number
Defined in
agent-plugin-event-emitter/src/plugin-types.ts:107
async
• Optional async: boolean
Defined in
agent-plugin-event-emitter/src/plugin-types.ts:108
catchErrors
• Optional catchErrors: boolean
Defined in
agent-plugin-event-emitter/src/plugin-types.ts:109
filters
• Optional filters: Record<TEventName, (event: IEventEmitterEventData) => boolean>
Defined in
agent-plugin-event-emitter/src/plugin-types.ts:110
buffer
• Optional buffer: Object
Type declaration
| Name | Type |
|---|---|
enabled | boolean |
maxSize | number |
flushInterval | number |
Defined in
agent-plugin-event-emitter/src/plugin-types.ts:111
metrics
• Optional metrics: IEventEmitterMetrics