https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
x

xxfast

01/28/2023, 2:48 AM
Hi all. Trying to use molecule with compose multiplatform. Android side works great, but running into this on the desktop client
Copy code
Suppressed: java.lang.IllegalStateException: A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext.
On android i'm using
AndroidUiDispatcher.Main
like here. Is there an equivalent dispatcher on other platforms that I can use off-the-shelve?
55 Views