close

abstract suspend fun close()

Closes the session and releases all associated resources.

Performs the following steps in order:

This function is idempotent: calling it more than once has no effect and does not throw.