DisconnectAsync

Disconnect TerraExplorer from a SkylineGlobe Server. This method executes asynchronously, immediately returning an ITerraExplorerAsync80, thereby ensuring that control is promptly handed back to the calling function. The ITerraExplorerAsync80 object provides a callback-based mechanism similar to the JavaScript promise and the C# Task that allows for handling rejections/errors and successful resolution of the asynchronous operation (using OnReject and OnResolve).

If you want to execute synchronously, use Disconnect instead.

 

JavaScript

 

DisconnectAsync()

 

C#

 

ITerraExplorerAsync80 DisconnectAsync ()

 

C++

 

HRESULT DisconnectAsync (ITerraExplorerAsync80** pITerraExplorerObject);