stream-chat-android
stream-chat-android copied to clipboard
[Coroutines] Extract user-scope from the existing sdk-scope
Currently, we have a single coroutine scope instance available within the ChatClient
instance.
Would be nice If we could create/extract per-user-scope
as we do for plugins in order to avoid race conditions.
In other words, when we cancel the old-user-related
jobs we should not cancel the new-user-related
jobs.