Getting Connection Status to the Main Terminal

Tags: v8

In Api V8, the method IsConnectedToMainTerminal has been added to obtain the connection status to the Main Terminal.

This method serves as an alternative to the notification ConnectionToMainTerminalChanged. It is designed for cases when plugins do not manage to start up by the time the notification about the terminal’s connection to the Main Terminal is received, allowing them to independently monitor the connection status.