property ReconnectPolicy: TScRetryPolicy;
The ReconnectPolicy property determines the timing and number of automatic reconnect attempts of TScHubConnection.
The default reconnect policy is the ReconnectPolicy used by the Create method to initialize the connection.
If you want to have control over the timing and number of automatic reconnect attempts, you should create an inheritor class of the TScRetryPolicy class and assign its object to this property.
You can also use the TScDefaultRetryPolicy class that implements the default behavior: TScHubConnection makes reconnect attempts immediately after connection is lost. If the first reconnect attempt fails, the second reconnect attempt will be made in 2 seconds. If the second reconnect attempt fails, the third reconnect attempt will be made in 10 seconds. If the third reconnect attempt fails, the fourth reconnect attempt will be made in 30 seconds. After the fourth reconnect attempt fails, no reconnect attempts will be made.