Skip to main content

EventBus

Central event hub.

Constructors

new EventBus()

new EventBus(): EventBus

Returns

EventBus

Source

src/events.ts:273

Properties

PropertyModifierType
_streamsprivateMap<any, any>

Methods

_getSubject()

_getSubject(type): any

Parameters

ParameterType
typestring

Returns

any

Source

src/events.ts:289


fire()

fire(type, data): void

Parameters

ParameterType
typestring
dataany

Returns

void

Source

src/events.ts:299


onEvent()

onEvent(type): Observable<any>

Parameters

ParameterType
typestring

Returns

Observable<any>

Source

src/events.ts:277