+
GSAsyncMode (bool asynchronous)
+
Creating an instance of this class switches the asynchronous execution mode for commands.
+
+ A value of true sets the mode to Asynchronous, the commands you execute are queued for later execution, and the script
+ is not delayed waiting for the command result. The estimated result is returned to the script.
+ The actual cost and whether the command succeeded when the command is eventually executed may differ from what was returned to the script.
+
+
+ A value of false sets the mode to Non-Asynchronous, this is the normal mode of executing commands.
+
+
The original mode is stored and recovered from when ever the instance is destroyed.
+
Use in a similar way to the
GSTestMode class.
+