Function
waitFor
Waits for an asynchronous request to complete.
waitFor(request[, timeout_millis])
Parameters
request
Reference to an aRequest object.
Types: aRequest
timeout_millis
Timout value in milliseconds.
Default: Infinity.
Remarks: A value of 0 can be used to test for completion without waiting.
Return Values
A bool which is true on completion and false on timeout.
Remarks
waitFor suspends the calling process until request is completed or after timeout_millis milliseconds.
SeqAn - Sequence Analysis Library - www.seqan.de