Class FlowGraphEventCoordinator
Hierarchy
- FlowGraphEventCoordinator
Index
Constructors
Methods
Constructors
constructor
Returns FlowGraphEventCoordinator
Methods
get Custom Event ObservableSearch playground for getCustomEventObservable
Get an observable that will be notified when the event with the given id is fired.
Parameters
id: string
the id of the event
Returns Observable<any>
the observable for the event
notify Custom EventSearch playground for notifyCustomEvent
Notifies the observable for the given event id with the given data.
Parameters
id: string
the id of the event
data: any
the data to send with the event
Returns void
This class centralizes the handling of events in the flow graph. If a block fires an event, it will be handled by this class. It will also notify any blocks that are listening to that event.