element-x-android
7b93bfbb - Use `runBlocking` for the token refresh logic (#6863)

Commit
2 days ago
Use `runBlocking` for the token refresh logic (#6863) * Use `runBlocking` for the token refresh logic The `RustClientSessionDelegate` callbacks always run in a separate thread, so they don't block the main thread. This ensures the token refresh is fully done (data saved/failed to) before the SDK continues sending the pending previously failed requests
Author
Parents
Loading