|
@@ -218,9 +218,9 @@
|
|
|
* The order of the callbacks is kept, callbacks are not executed parallel.
|
|
|
*
|
|
|
* @param eventData The data to be sent to each callback
|
|
|
- * @param [mask=-1] mask is used to filter observers
|
|
|
- * @param [target] the callback target (see EventState)
|
|
|
- * @param [currentTarget]
|
|
|
+ * @param mask is used to filter observers defaults to -1
|
|
|
+ * @param target the callback target (see EventState)
|
|
|
+ * @param currentTarget The current object in the bubbling phase
|
|
|
* @returns {Promise<T>} will return a Promise than resolves when all callbacks executed successfully.
|
|
|
*/
|
|
|
public notifyObserversWithPromise(eventData: T, mask: number = -1, target?: any, currentTarget?: any): Promise<T> {
|