Remote script execution by default is performed asynchronously. If an outstanding operation must be aborted, call abort() on the RemoteTarget object associated with the remote operation.
This method has the following syntax:
abort()
This method does not return a value.
Example
Abort a remote operation:
rt = new RemoteTarget("ascli1"); run-remote Math.sin(Math.PI/2) on rt if(!rt.hasCompleted()) { rt.abort() ? "Operation aborted:", rt.wasAborted() }
Copyright © 2013 CA. All rights reserved. |
|