failRequests

abstract suspend fun <T> failRequests(block: suspend () -> T): T

Fail HTTP requests to the backend, in flight and new, as having no network until block returns. WebSockets are not affected. Use it to end requests that would hold an account handoff.