EVENTS_AGGREGATION_TYPES

Overview

Constants are defined to represent different aggregation types for return value of eventsManager.fireEventListeners. The constants include:

  • RETURN_VALUE_BOOLEAN: fireEventListeners returns a logical and between all the listeners return values.

  • RETURN_VALUE_ARRAY: fireEventListeners returns an array with all the listeners return values.

Constants Summarized

Type
Name
Summary

Constant for eventsManager fireEventListeners.

Constant for eventsManager fireEventListeners, with this ENUM the fireEventListeners will return a boolean which is a logical and between all the listeners return values.

Constants Detailed

RETURN_VALUE_ARRAY

Constant for eventsManager fireEventListeners. with this ENUM the fireEventListeners will return an array with all the listeners return values.

Type enum

Sample

var myarray = eventsManager.fireEventListeners('customEvent',null,null,EVENTS_AGGREGATION_TYPE.RETURN_VALUE_ARRAY);

RETURN_VALUE_BOOLEAN

Constant for eventsManager fireEventListeners, with this ENUM the fireEventListeners will return a boolean which is a logical and between all the listeners return values.

Type enum

Sample

var myboolean = eventsManager.fireEventListeners('customEvent',null,null,EVENTS_AGGREGATION_TYPE.RETURN_VALUE_BOOLEAN);

Last updated

Was this helpful?