APIs, concepts, guides, and more

◆ DoneWait()

uint64_t DoneWait ( uint64_t timeoutMilliseconds)
pure virtual

This method will block the calling thread until the G-code program execution completes or the specified timeout is reached.

Wait for the completion of G-code program execution with a timeout.

timeoutMillisecondsThe maximum amount of time to wait in milliseconds.
The actual time waited in milliseconds.
If the G-code execution doesn't complete within the timeout, an exception may be thrown or an error will be logged, based on the implementation.
See also