Client and Developer InterfacesJavaScriptSessionSession stateOn this pageSession stateAboutReturns the state of the current channelClick here to expand Table of Contents1 Example2 See AlsoExamplewhile(session.state == "CS_EXECUTE") { // do something fun}Note: you really should use session.ready instead of the above exampleSee AlsoJavaScript