Is it not possible to read from a `@Model` var out...
# compose
m
Is it not possible to read from a
@Model
var outside a
@Composable
?
a
It is possible. At the moment either you must read/write on the main thread or use some of the tools in
Frames.kt
to set things up to manipulate
@Model
objects on other threads but we plan to make this much easier
👍 1
m
I wonder why this fails then. The last line in the trace corresponds to line 8 here
a
the FrameManager gets set up after you call setContent with your composable for the first time
this stuff is going to get easier 🙂
✔️ 1
m
Nice, thank you. That works
👍 1