https://kotlinlang.org logo
a

Archie

03/08/2020, 2:14 PM
Hi @kpgalligan, may I asked why there are two scopes in
BaseModel
(
mainScope
and
ktorScope
)? I feel like one scope is enough and I don't see the reason for a second scope. I imagined
mainScope
to be
viewModelScope
in
android
and then I'd create a
"viewModelScope"
in
iOS
. I just don't understand the need for a second scope which is
ktorScope
. 🤔 🤔