Skip to content
RED SAG Skills
hardStudy question · answer published in Kotlin interview questions, so no pointsandroidcoroutinesconcurrency

Locking around a suspend call

You need to ensure only one token refresh runs at a time, and the refresh is a suspend call. Why is a synchronized block a poor fit?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions