stream-chat-android icon indicating copy to clipboard operation
stream-chat-android copied to clipboard

[Coroutines] Extract user-scope from the existing sdk-scope

Open kanat opened this issue 2 years ago • 0 comments

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.

kanat avatar Aug 12 '22 14:08 kanat