cancelReading()
Cancels any background work and stops the reader’s outputs from reading more samples.
Declaration
func cancelReading()Discussion
To stop reading samples before reaching the end of the time range, call this method to stop any in-progress background read operations.