Skip to content

Documentation / @ripl/core / EventSubscriptionOptions

Type Alias: EventSubscriptionOptions ​

EventSubscriptionOptions = object

Defined in: packages/core/src/core/event-bus.ts:46

Options for subscribing to an event, such as filtering to self-targeted events only.

Properties ​

self? ​

optional self?: boolean

Defined in: packages/core/src/core/event-bus.ts:48

When true, the handler only fires for events originally emitted on this bus, ignoring bubbled events.