suspend

fun suspend(): Completable

Suspends the current session.

If the session cannot be suspended, it completes immediately without performing any action. This operation also clears any ongoing requests associated with the session.

Return

A Completable that completes when the session is successfully suspended. It may emit an error if the suspension fails.