fcf.EventChannel class
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
The event channel class that implements the communication of different program blocks of the framework. The framework can use multiple event channels, but by default it always uses the main event channel, which is available via the
Methods
- Adds an event handler that is called only for the first call to the event. If the event has already been called before adding the handler, then the event handler is called with the event data that was passed in the previous call.
- Returns the number of event calls made