Skip to content

Documentation


Documentation / @blazetrails/activesupport / EventObject

Class: EventObject ​

Defined in: packages/activesupport/lib/notifications/fanout.ts:519

Extends ​

Constructors ​

Constructor ​

new EventObject(pattern, delegate): EventObject

Defined in: packages/activesupport/lib/notifications/fanout.ts:461

Parameters ​

ParameterType
patternstring | RegExp | null
delegateEventObjectCallback

Returns ​

EventObject

Inherited from ​

Evented.constructor

Properties ​

delegate ​

readonly delegate: EventObjectCallback

Defined in: packages/activesupport/lib/notifications/fanout.ts:456

Inherited from ​

Evented.delegate


pattern ​

readonly pattern: AnyMatcher

Defined in: packages/activesupport/lib/notifications/fanout.ts:455

Inherited from ​

Evented.pattern


silenceable ​

readonly silenceable: boolean

Defined in: packages/activesupport/lib/notifications/fanout.ts:457

Inherited from ​

Evented.silenceable

Methods ​

groupClass() ​

groupClass(): GroupClass

Defined in: packages/activesupport/lib/notifications/fanout.ts:520

Returns ​

GroupClass

Overrides ​

Evented.groupClass


isSilenced() ​

isSilenced(name): boolean

Defined in: packages/activesupport/lib/notifications/fanout.ts:488

Parameters ​

ParameterType
namestring

Returns ​

boolean

Inherited from ​

Evented.isSilenced


isSubscribedTo() ​

isSubscribedTo(name): boolean

Defined in: packages/activesupport/lib/notifications/fanout.ts:494

Parameters ​

ParameterType
namestring

Returns ​

boolean

Inherited from ​

Evented.isSubscribedTo


publish() ​

publish(name, ...args): void

Defined in: packages/activesupport/lib/notifications/fanout.ts:474

Parameters ​

ParameterType
namestring
...argsunknown[]

Returns ​

void

Inherited from ​

Evented.publish


publishEvent() ​

publishEvent(event): void

Defined in: packages/activesupport/lib/notifications/fanout.ts:524

Parameters ​

ParameterType
eventNotificationEvent

Returns ​

void

Overrides ​

Evented.publishEvent


unsubscribeBang() ​

unsubscribeBang(name): void

Defined in: packages/activesupport/lib/notifications/fanout.ts:498

Parameters ​

ParameterType
namestring

Returns ​

void

Inherited from ​

Evented.unsubscribeBang