awaitTermination
awaitTermination.RdWaits for the termination of the query, either by stopQuery or by an error.
Usage
awaitTermination(x, timeout = NULL)
# S4 method for class 'StreamingQuery'
awaitTermination(x, timeout = NULL)Details
If the query has terminated, then all subsequent calls to this method will return TRUE immediately.
See also
Other StreamingQuery methods:
explain(),
isActive(),
lastProgress(),
queryName(),
status(),
stopQuery()