Skip to contents

Stops the execution of this query if it is running. This method blocks until the execution is stopped.

Usage

stopQuery(x)

# S4 method for StreamingQuery
stopQuery(x)

Arguments

x

a StreamingQuery.

Note

stopQuery(StreamingQuery) since 2.2.0

experimental

See also

Other StreamingQuery methods: awaitTermination(), explain(), isActive(), lastProgress(), queryName(), status()

Examples

if (FALSE)  stopQuery(sq)