EaxAnalyzer.waitFor

Syntax

waitFor(name: String);

Parameters

name. Token name.

Description

The waitFor method sets the wait token for specified operation in express report.

Comments

The method returns False if the token has been previously set and not cleared, and True if the method has successfully completed.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Set wait token for the operation of data source dimension in express report:

var eaxAnalyzer = expressBox.getSource();
var result = eaxAnalyzer.waitFor(PP.Exp.Operation.ChangeDataSource);
if (result) {
    console.log("Operation waiting marker is set.");
} else {
    console.log("Waiting marker was set before and has not been reset.");
}

After executing the example the browser console displays a message that the method is successfully executed:

Operation wait token is set.

See also:

EaxAnalyzer