Just had no time to fix all the examples.
# kvision
r
Just had no time to fix all the examples.
t
No worries, I am asking because I am not so confident with my understanding of correct coroutine context/scope usage.
All examples are focused on Android and it's hard to find any for KotlinJS
r
val scope = CoroutineScope(window.asCoroutineDispatcher()) + SupervisorJob()
this is what I'm using currently internally in KVision
t
so you create a new scope in every component?
r
No, I'm using this as a global variable