MiResultRecord.MiPendingCommand.wait
MiResultRecord wait(Duration timeout = DEFAULT_COMMAND_TIMEOUT)Waits for the command to complete.
Parameters
timeout | Maximum time to wait. |
Returns
The
Throws
GdbTimeoutException on timeout, GdbCommandException on GDB error,
or rethrows other errors.
Example:
try {
auto rr = pending.wait(dur!"seconds"(5));
} catch (GdbException e) { ... }