Has someone see this issue with Molecule? I am jus...
# squarelibraries
j
Has someone see this issue with Molecule? I am just playing with it a jvm project. I have tried to use
suspend main
creating a scope and I have tried to use
runBlocking
too.
Copy code
A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext.
👍 1
I moved to
RecompositionClock._Immediate_
and it "works". I am seeing weird values, I am going to do some tests
k
Outside of something that is some way tied to the UI, the
Immediate
clock is the only option you have.
j
You can make your own clock. It may be reasonable for a data layer to never emit more than once per second, for example.