View on GitHub

sensibill-android-documentation

com.getsensibill.sensibillauth / SensibillAuth / AuthListener / await

await

suspend fun await(block: (SensibillAuth.AuthListener) -> Unit): SensibillAuth.AuthError?

Helper suspend function to handle a SessionListener in a synchronous manner using suspended coroutines

Return type: AuthError? Success Result -> null Failure Result -> error: AuthError