Returns the state of the current channel
while(session.state == "CS_EXECUTE") { // do something fun }
Note: you really should use session.ready instead of the above example
Javascript
Category: Javascript