Is it safe to get coroutine scope inside a widget ...
# kvision
i
Is it safe to get coroutine scope inside a widget this way?
Copy code
val scope = kvscope.unsafeCast<CoroutineScope>()
Followed source code and found that it is initialized internally in
initWidgetScope
function, so it is not
r
It's not. The scope is initialized only when needed.
i
I see, thanks