Skip to content

Documentation


Documentation / @blazetrails/activesupport / Evented

Class: Evented<D> ​

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

Extended by ​

Type Parameters ​

Type ParameterDefault type
DDelegate

Constructors ​

Constructor ​

new Evented<D>(pattern, delegate): Evented<D>

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

Parameters ​

ParameterType
patternstring | RegExp | null
delegateD

Returns ​

Evented<D>

Properties ​

delegate ​

readonly delegate: D

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


pattern ​

readonly pattern: AnyMatcher

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


silenceable ​

readonly silenceable: boolean

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

Methods ​

groupClass() ​

groupClass(): GroupClass

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

Returns ​

GroupClass


isSilenced() ​

isSilenced(name): boolean

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

Parameters ​

ParameterType
namestring

Returns ​

boolean


isSubscribedTo() ​

isSubscribedTo(name): boolean

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

Parameters ​

ParameterType
namestring

Returns ​

boolean


publish() ​

publish(name, ...args): void

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

Parameters ​

ParameterType
namestring
...argsunknown[]

Returns ​

void


publishEvent() ​

publishEvent(event): void

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

Parameters ​

ParameterType
eventNotificationEvent

Returns ​

void


unsubscribeBang() ​

unsubscribeBang(name): void

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

Parameters ​

ParameterType
namestring

Returns ​

void