cancelPendingRequests

abstract fun cancelPendingRequests()

Cancels all pending requests.

This method cancels any ongoing search or operations that have not yet been completed. It ensures that all pending network or database requests are terminated. Additionally, it calls clearResults to clear any existing search results.