restart Refresher If

open fun restartRefresherIf(condition: Boolean)

Function to conditionally restart the current refreshRoutine after other requests has been executed, the isRefreshing instance will be set as true to deny the restart of the routine after executing the other requests

Parameters

condition

: the condition to verify whether restart or not the refresher