Rate this page:

terminate

Copy URL
terminate(): 

void

Terminates the current JavaScript session. All audio/video streams are disconnected and scenario execution stops. Note that after this function, only the AppEvents.Terminating and AppEvents.Terminated events are triggered.Note: if you are using this method inside a code block (e.g., an "if" block), it does not stop the execution of the current block. Use return; after using this method to exit the current code block.

Returns

  • type:

    void