awaitTermination
awaitTermination.Rd
Waits for the termination of the query, either by stopQuery
or by an error.
Usage
awaitTermination(x, timeout = NULL)
# S4 method for StreamingQuery
awaitTermination(x, timeout = NULL)
Arguments
- x
a StreamingQuery.
- timeout
time to wait in milliseconds, if omitted, wait indefinitely until
stopQuery
is called or an error has occurred.
Details
If the query has terminated, then all subsequent calls to this method will return TRUE immediately.