awaitSessionRestored

suspend fun SupabaseClient.awaitSessionRestored()

Suspends until the stored auth session has been restored. Requests fired during a cold start would otherwise run without a user. Returns immediately once restored or when Auth is not installed.