EventBus
Central event hub.
Constructors
new EventBus()
new EventBus():
EventBus
Returns
Source
Properties
Property | Modifier | Type |
---|---|---|
_streams | private | Map <any , any > |
Methods
_getSubject()
_getSubject(
type
):any
Parameters
Parameter | Type |
---|---|
type | string |
Returns
any
Source
fire()
fire(
type
,data
):void
Parameters
Parameter | Type |
---|---|
type | string |
data | any |
Returns
void
Source
onEvent()
onEvent(
type
):Observable
<any
>
Parameters
Parameter | Type |
---|---|
type | string |
Returns
Observable
<any
>