suspend Refresher If

open fun suspendRefresherIf(condition: Boolean)

Function to conditionally suspend the current refreshRoutine to execute other requests to the backend, the isRefreshing instance will be set as false to allow the restart of the routine after executing the other requests

Parameters

condition

: the condition to verify whether suspend or not the refresher