Skip to content

Interface: OnEventOptions

Defined in: packages/event-emitter/src/decorators/on-event.decorator.ts:9

Options for @OnEvent.

Properties

PropertyTypeDescriptionDefined in
once?booleanWhen true, the handler is automatically unregistered after the first invocation. Default falsepackages/event-emitter/src/decorators/on-event.decorator.ts:16

Released under the MIT License.