WaitComplete

void ICommandSequence.WaitComplete(double timeout)

Waits until the execution of the command sequence is finished, i.e. when the command sequence is in either CommandState.Completed or CommandState.Failed, or until the timeout interval is exceeded.

Parameters

timeout – Interval in seconds to wait for complete callback. Negative value means infinite.

Throws
Remarks

If execution is already finished, this method returns immediately.