Skip to main content

EventBus

Central event hub.

Constructors

new EventBus()

new EventBus(): EventBus

Returns

EventBus

Source

src/events.ts:280

Properties

PropertyModifierType
_streamsprivateMap<any, any>

Methods

_getSubject()

_getSubject(type): any

Parameters

ParameterType
typestring

Returns

any

Source

src/events.ts:296


fire()

fire(type, data): void

Parameters

ParameterType
typestring
dataany

Returns

void

Source

src/events.ts:306


onEvent()

onEvent(type): Observable<any>

Parameters

ParameterType
typestring

Returns

Observable<any>

Source

src/events.ts:284