Method AsyncResult():wait() Foundation
Waits for the operation to complete with optional timeout.
:wait( <nWaitTime> ) --> lFinished
.T. if the operation completed (success or error) within the timeout period, .F. if the timeout expired before completion.
Blocks the current thread until the AsyncResult transitions out of the "waiting" state (either to "finished" or "error"). An optional timeout can be specified to limit the waiting time.
If a timeout is specified and the operation does not complete within the timeout period, the method returns .F. (false). Otherwise, it returns .T. (true) when the operation completes, regardless of whether it succeeded or failed.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.